1 //===----------------------------------------------------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 // <mutex>
11 
12 // class mutex;
13 
14 // mutex& operator=(const mutex&) = delete;
15 
16 #include <mutex>
17 
18 int main()
19 {
20     std::mutex m0;
21     std::mutex m1;
22     m1 = m0;
23 }
24