1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
12 // Test that including <atomic> fails to compile when _LIBCPP_HAS_NO_THREADS
15 // MODULES_DEFINES: _LIBCPP_HAS_NO_THREADS
16 #ifndef _LIBCPP_HAS_NO_THREADS
17 #define _LIBCPP_HAS_NO_THREADS