| //===----------------------------------------------------------------------===// |
| // |
| // The LLVM Compiler Infrastructure |
| // |
| // This file is dual licensed under the MIT and the University of Illinois Open |
| // Source Licenses. See LICENSE.TXT for details. |
| // |
| //===----------------------------------------------------------------------===// |
| |
| // <condition_variable> |
| |
| // class condition_variable; |
| |
| // condition_variable(const condition_variable&) = delete; |
| |
| #include <condition_variable> |
| #include <cassert> |
| |
| int main() |
| { |
| std::condition_variable cv0; |
| std::condition_variable cv1(cv0); |
| } |