blob: 243640d0e3752bcbad462fdc08859cd6d0406c17 [file] [log] [blame]
Howard Hinnantc51e1022010-05-11 19:42:16 +00001//===----------------------------------------------------------------------===//
2//
Howard Hinnantc566dc32010-05-11 21:36:01 +00003// The LLVM Compiler Infrastructure
Howard Hinnantc51e1022010-05-11 19:42:16 +00004//
Howard Hinnantee11c312010-11-16 22:09:02 +00005// This file is dual licensed under the MIT and the University of Illinois Open
6// Source Licenses. See LICENSE.TXT for details.
Howard Hinnantc51e1022010-05-11 19:42:16 +00007//
8//===----------------------------------------------------------------------===//
9
10// <thread>
11
Howard Hinnant29aba232010-08-21 21:01:59 +000012// #define __STDCPP_THREADS__ __cplusplus
Howard Hinnantc51e1022010-05-11 19:42:16 +000013
14#include <thread>
15
16int main()
17{
Howard Hinnant29aba232010-08-21 21:01:59 +000018#ifndef __STDCPP_THREADS__
19#error __STDCPP_THREADS__ is not defined
Howard Hinnantc51e1022010-05-11 19:42:16 +000020#endif
21}