d897657655317222d0044a6d7e34dd9fc0484ab5
[platform/framework/web/crosswalk.git] / src / third_party / libc++ / trunk / test / thread / thread.condition / cv_status.pass.cpp
1 //===----------------------------------------------------------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. 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
17 int main()
18 {
19     assert(std::cv_status::no_timeout == 0);
20     assert(std::cv_status::timeout == 1);
21 }