Howard Hinnant | c51e102 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 1 | //===----------------------------------------------------------------------===// |
| 2 | // |
Howard Hinnant | c566dc3 | 2010-05-11 21:36:01 +0000 | [diff] [blame] | 3 | // The LLVM Compiler Infrastructure |
Howard Hinnant | c51e102 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 4 | // |
Howard Hinnant | ee11c31 | 2010-11-16 22:09:02 +0000 | [diff] [blame] | 5 | // This file is dual licensed under the MIT and the University of Illinois Open |
| 6 | // Source Licenses. See LICENSE.TXT for details. |
Howard Hinnant | c51e102 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | // <thread> |
| 11 | |
Howard Hinnant | 29aba23 | 2010-08-21 21:01:59 +0000 | [diff] [blame] | 12 | // #define __STDCPP_THREADS__ __cplusplus |
Howard Hinnant | c51e102 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 13 | |
| 14 | #include <thread> |
| 15 | |
| 16 | int main() |
| 17 | { |
Howard Hinnant | 29aba23 | 2010-08-21 21:01:59 +0000 | [diff] [blame] | 18 | #ifndef __STDCPP_THREADS__ |
| 19 | #error __STDCPP_THREADS__ is not defined |
Howard Hinnant | c51e102 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 20 | #endif |
| 21 | } |