summaryrefslogtreecommitdiffstats
path: root/libcxx/test/atomics/libcpp-has-no-threads.pass.cpp
blob: 9c0cccbda380d0ea8eae597529b7d2a413162e70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//===----------------------------------------------------------------------===//
//
//                     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.
//
//===----------------------------------------------------------------------===//
// XFAIL: libcpp-has-no-threads

#ifdef _LIBCPP_HAS_NO_THREADS
#error This should be XFAIL'd for the purpose of detecting that the LIT feature\
 'libcpp-has-no-threads' is available iff _LIBCPP_HAS_NO_THREADS is defined
#endif

int main()
{
}
OpenPOWER on IntegriCloud