2010-05-12 03:42:16 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2010-05-12 05:36:01 +08:00
|
|
|
// The LLVM Compiler Infrastructure
|
2010-05-12 03:42:16 +08:00
|
|
|
//
|
2010-11-17 06:09:02 +08:00
|
|
|
// This file is dual licensed under the MIT and the University of Illinois Open
|
|
|
|
// Source Licenses. See LICENSE.TXT for details.
|
2010-05-12 03:42:16 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
2014-09-06 03:45:05 +08:00
|
|
|
//
|
|
|
|
// UNSUPPORTED: libcpp-has-no-threads
|
2010-05-12 03:42:16 +08:00
|
|
|
|
|
|
|
// <thread>
|
|
|
|
|
2010-08-22 05:01:59 +08:00
|
|
|
// #define __STDCPP_THREADS__ __cplusplus
|
2010-05-12 03:42:16 +08:00
|
|
|
|
|
|
|
#include <thread>
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2010-08-22 05:01:59 +08:00
|
|
|
#ifndef __STDCPP_THREADS__
|
|
|
|
#error __STDCPP_THREADS__ is not defined
|
2010-05-12 03:42:16 +08:00
|
|
|
#endif
|
|
|
|
}
|