blob: 93fea04f64ad5bad3d59e56657be8be08645df3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <condition_variable>
// enum class cv_status { no_timeout, timeout };
#include <condition_variable>
#include <cassert>
int main()
{
assert(std::cv_status::no_timeout == 0);
assert(std::cv_status::timeout == 1);
}
|