summaryrefslogtreecommitdiffstats
path: root/libcxx/test/thread/thread.condition/thread.condition.condvar/assign.fail.cpp
blob: 86fd69dfe73b80cf9f0d5ed9c3e94b5c5909635f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//===----------------------------------------------------------------------===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

// <condition_variable>

// class condition_variable;

// condition_variable& operator=(const condition_variable&) = delete;

#include <condition_variable>
#include <cassert>

int main()
{
    std::condition_variable cv0;
    std::condition_variable cv1;
    cv1 = cv0;
}
OpenPOWER on IntegriCloud