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
10 // UNSUPPORTED: c++98, c++03, c++11
11 
12 // shared_timed_mutex was introduced in macosx10.12
13 // UNSUPPORTED: with_system_cxx_lib=macosx10.11
14 // UNSUPPORTED: with_system_cxx_lib=macosx10.10
15 // UNSUPPORTED: with_system_cxx_lib=macosx10.9
16 
17 // <shared_mutex>
18 
19 // class shared_timed_mutex;
20 
21 // shared_timed_mutex();
22 
23 #include <shared_mutex>
24 
25 #include "test_macros.h"
26 
27 int main(int, char**)
28 {
29     std::shared_timed_mutex m;
30 
31   return 0;
32 }
33