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

22 lines
522 B
C++
Raw Normal View History

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