blob: 93fea04f64ad5bad3d59e56657be8be08645df3c [file] [log] [blame]
Howard Hinnant3e519522010-05-11 19:42:16 +00001//===----------------------------------------------------------------------===//
2//
Howard Hinnant5b08a8a2010-05-11 21:36:01 +00003// The LLVM Compiler Infrastructure
Howard Hinnant3e519522010-05-11 19:42:16 +00004//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10// <condition_variable>
11
12// enum class cv_status { no_timeout, timeout };
13
14#include <condition_variable>
15#include <cassert>
16
17int main()
18{
19 assert(std::cv_status::no_timeout == 0);
20 assert(std::cv_status::timeout == 1);
21}