1*0a6a1f1dSLionel Sambuc //===----------------------------------------------------------------------===// 2*0a6a1f1dSLionel Sambuc // 3*0a6a1f1dSLionel Sambuc // The LLVM Compiler Infrastructure 4*0a6a1f1dSLionel Sambuc // 5*0a6a1f1dSLionel Sambuc // This file is dual licensed under the MIT and the University of Illinois Open 6*0a6a1f1dSLionel Sambuc // Source Licenses. See LICENSE.TXT for details. 7*0a6a1f1dSLionel Sambuc // 8*0a6a1f1dSLionel Sambuc //===----------------------------------------------------------------------===// 9*0a6a1f1dSLionel Sambuc // 10*0a6a1f1dSLionel Sambuc // UNSUPPORTED: libcpp-has-no-threads 11*0a6a1f1dSLionel Sambuc 12*0a6a1f1dSLionel Sambuc // <thread> 13*0a6a1f1dSLionel Sambuc 14*0a6a1f1dSLionel Sambuc // #define __STDCPP_THREADS__ __cplusplus 15*0a6a1f1dSLionel Sambuc 16*0a6a1f1dSLionel Sambuc #include <thread> 17*0a6a1f1dSLionel Sambuc main()18*0a6a1f1dSLionel Sambucint main() 19*0a6a1f1dSLionel Sambuc { 20*0a6a1f1dSLionel Sambuc #ifndef __STDCPP_THREADS__ 21*0a6a1f1dSLionel Sambuc #error __STDCPP_THREADS__ is not defined 22*0a6a1f1dSLionel Sambuc #endif 23*0a6a1f1dSLionel Sambuc } 24