blob: a367051fec30af2c0aa08b337681211ae21b64d7 [file] [log] [blame]
Howard Hinnant3e519522010-05-11 19:42:16 +00001//===----------------------------------------------------------------------===//
2//
Chandler Carruth57b08b02019-01-19 10:56:40 +00003// 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
Howard Hinnant3e519522010-05-11 19:42:16 +00006//
7//===----------------------------------------------------------------------===//
8
9// <condition_variable>
10
11// class condition_variable;
12
13// condition_variable& operator=(const condition_variable&) = delete;
14
15#include <condition_variable>
16#include <cassert>
17
JF Bastien2df59c52019-02-04 20:31:13 +000018int main(int, char**)
Howard Hinnant3e519522010-05-11 19:42:16 +000019{
20 std::condition_variable cv0;
21 std::condition_variable cv1;
22 cv1 = cv0;
JF Bastien2df59c52019-02-04 20:31:13 +000023
24 return 0;
Howard Hinnant3e519522010-05-11 19:42:16 +000025}