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