]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/std/thread/thread.condition/thread.condition.condvarany/copy.fail.cpp
Vendor import of libc++ trunk r351319 (just before the release_80
[FreeBSD/FreeBSD.git] / test / std / thread / thread.condition / thread.condition.condvarany / copy.fail.cpp
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 // <condition_variable>
11
12 // class condition_variable_any;
13
14 // condition_variable_any(const condition_variable_any&) = delete;
15
16 #include <condition_variable>
17 #include <cassert>
18
19 int main()
20 {
21     std::condition_variable_any cv0;
22     std::condition_variable_any cv1(cv0);
23 }