aboutsummaryrefslogtreecommitdiff
path: root/test/std/thread/macro.pass.cpp
blob: c1b1377d6cc3291cb0be499627b51fbf3a57490f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//===----------------------------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// UNSUPPORTED: libcpp-has-no-threads

// <thread>

// #define __STDCPP_THREADS__ __cplusplus

#include <thread>

int main()
{
#ifndef __STDCPP_THREADS__
#error __STDCPP_THREADS__ is not defined
#endif
}