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