llvm-project/libcxx/test/std/thread/macro.pass.cpp

24 lines
563 B
C++
Raw Normal View History

2010-05-12 03:42:16 +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
//
//===----------------------------------------------------------------------===//
//
// 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
}