blob: f52c1556feb013dd2bf280d686dce71f8d48d41f [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//
Howard Hinnant412dbeb2010-11-16 22:09:02 +00005// This file is dual licensed under the MIT and the University of Illinois Open
6// Source Licenses. See LICENSE.TXT for details.
Howard Hinnant3e519522010-05-11 19:42:16 +00007//
8//===----------------------------------------------------------------------===//
9
10// test <cstdbool>
11
12#include <cstdbool>
13
14#ifndef __bool_true_false_are_defined
15#error __bool_true_false_are_defined not defined
16#endif
17
18#ifdef bool
19#error bool should not be defined
20#endif
21
22#ifdef true
23#error true should not be defined
24#endif
25
26#ifdef false
27#error false should not be defined
28#endif
29
30int main()
31{
32}