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: c++98, c++03, c++11 10 // <shared_mutex> 11 12 // class shared_timed_mutex; 13 14 // shared_timed_mutex(const shared_timed_mutex&) = delete; 15 16 #include <shared_mutex> 17 18 int main(int, char**) 19 { 20 std::shared_timed_mutex m0; 21 std::shared_timed_mutex m1(m0); 22 23 return 0; 24 } 25