blob: cd4d4c4b21f652c0456bf7877ec5d4d482c41ca4 [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 <stdbool.h>
11
12#include <stdbool.h>
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}