diff options
Diffstat (limited to 'libcxx/test/thread/macro.pass.cpp')
-rw-r--r-- | libcxx/test/thread/macro.pass.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libcxx/test/thread/macro.pass.cpp b/libcxx/test/thread/macro.pass.cpp new file mode 100644 index 00000000000..baa2e5c05f9 --- /dev/null +++ b/libcxx/test/thread/macro.pass.cpp @@ -0,0 +1,21 @@ +//===----------------------------------------------------------------------===// +// +// ΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚΚThe LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +// <thread> + +// #define __STDCPP_THREADS __cplusplus + +#include <thread> + +int main() +{ +#ifndef __STDCPP_THREADS +#error __STDCPP_THREADS is not defined +#endif +} |