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\ 13 'libcpp-has-no-threads' is available iff _LIBCPP_HAS_NO_THREADS is defined 14 #endif 15 16 int main() 17 { 18 } 19