Olivier Giroux | 54fa9ec | 2020-02-18 09:58:34 -0500 | [diff] [blame] | 1 | //===----------------------------------------------------------------------===// |
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | // |
| 9 | // UNSUPPORTED: libcpp-has-no-threads |
Louis Dionne | 31cbe0f | 2020-06-01 10:38:23 -0400 | [diff] [blame^] | 10 | // UNSUPPORTED: c++03, c++11 |
Olivier Giroux | 54fa9ec | 2020-02-18 09:58:34 -0500 | [diff] [blame] | 11 | |
| 12 | // <latch> |
| 13 | |
| 14 | #include <latch> |
| 15 | |
| 16 | #include "test_macros.h" |
| 17 | |
| 18 | #ifndef _LIBCPP_VERSION |
| 19 | #error _LIBCPP_VERSION not defined |
| 20 | #endif |
| 21 | |
| 22 | int main(int, char**) |
| 23 | { |
| 24 | return 0; |
| 25 | } |