1 //===----------------------------------------------------------------------===//
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
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: libcpp-has-no-threads
10 // UNSUPPORTED: c++03, c++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
19 // class shared_timed_mutex;
21 // shared_timed_mutex();
23 #include <shared_mutex>
25 #include "test_macros.h"
29 std::shared_timed_mutex m
;