blob: 9c0cccbda380d0ea8eae597529b7d2a413162e70 [file] [log] [blame]
Jonathan Roelofscf852452014-10-27 22:39:19 +00001//===----------------------------------------------------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is dual licensed under the MIT and the University of Illinois Open
6// Source Licenses. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9// XFAIL: libcpp-has-no-threads
10
11#ifdef _LIBCPP_HAS_NO_THREADS
12#error This should be XFAIL'd for the purpose of detecting that the LIT feature\
Dan Albert1d4a1ed2016-05-25 22:36:09 -070013 'libcpp-has-no-threads' is available iff _LIBCPP_HAS_NO_THREADS is defined
Jonathan Roelofscf852452014-10-27 22:39:19 +000014#endif
15
16int main()
17{
18}