blob: 3afe356ed239a23dd0a9822706a41932ca3d12bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <mutex>
// struct once_flag;
// once_flag& operator=(const once_flag&) = delete;
#include <mutex>
int main()
{
std::once_flag f;
std::once_flag f2;
f2 = f;
}
|