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

24 lines
628 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
//
2010-11-17 06:09:02 +08:00
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
2010-05-12 03:42:16 +08:00
//
//===----------------------------------------------------------------------===//
// <condition_variable>
// class condition_variable_any;
// condition_variable_any(const condition_variable_any&) = delete;
#include <condition_variable>
#include <cassert>
int main()
{
std::condition_variable_any cv0;
std::condition_variable_any cv1(cv0);
}