You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
638 B
C++
20 lines
638 B
C++
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
// 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(int, char**)
|
|
{
|
|
|
|
return 0;
|
|
}
|