17112dae6acac544a0271a85d95342c583441e2d1Dan Albert//===----------------------------------------------------------------------===// 27112dae6acac544a0271a85d95342c583441e2d1Dan Albert// 37112dae6acac544a0271a85d95342c583441e2d1Dan Albert// The LLVM Compiler Infrastructure 47112dae6acac544a0271a85d95342c583441e2d1Dan Albert// 57112dae6acac544a0271a85d95342c583441e2d1Dan Albert// This file is dual licensed under the MIT and the University of Illinois Open 67112dae6acac544a0271a85d95342c583441e2d1Dan Albert// Source Licenses. See LICENSE.TXT for details. 77112dae6acac544a0271a85d95342c583441e2d1Dan Albert// 87112dae6acac544a0271a85d95342c583441e2d1Dan Albert//===----------------------------------------------------------------------===// 97112dae6acac544a0271a85d95342c583441e2d1Dan Albert// XFAIL: libcpp-has-no-threads 107112dae6acac544a0271a85d95342c583441e2d1Dan Albert 117112dae6acac544a0271a85d95342c583441e2d1Dan Albert#ifdef _LIBCPP_HAS_NO_THREADS 127112dae6acac544a0271a85d95342c583441e2d1Dan Albert#error This should be XFAIL'd for the purpose of detecting that the LIT feature\ 137112dae6acac544a0271a85d95342c583441e2d1Dan Albert 'libcpp-has-no-threads' is available iff _LIBCPP_HAS_NO_THREADS is defined 147112dae6acac544a0271a85d95342c583441e2d1Dan Albert#endif 157112dae6acac544a0271a85d95342c583441e2d1Dan Albert 167112dae6acac544a0271a85d95342c583441e2d1Dan Albertint main() 177112dae6acac544a0271a85d95342c583441e2d1Dan Albert{ 187112dae6acac544a0271a85d95342c583441e2d1Dan Albert} 19