Jonathan Roelofs | cf85245 | 2014-10-27 22:39:19 +0000 | [diff] [blame] | 1 | //===----------------------------------------------------------------------===// |
| 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 Albert | 1d4a1ed | 2016-05-25 22:36:09 -0700 | [diff] [blame^] | 13 | 'libcpp-has-no-threads' is available iff _LIBCPP_HAS_NO_THREADS is defined |
Jonathan Roelofs | cf85245 | 2014-10-27 22:39:19 +0000 | [diff] [blame] | 14 | #endif |
| 15 | |
| 16 | int main() |
| 17 | { |
| 18 | } |