hanchenye-llvm-project/libcxx/test/thread/thread.condition/thread.condition.condvar/copy.fail.cpp

24 lines
593 B
C++
Raw Normal View History

2010-05-12 03:42:16 +08:00
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
2010-05-12 03:42:16 +08:00
//
// This file is distributed under the University of Illinois Open Source
// License. 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);
}