1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 // test <cstdbool>
10 
11 #include <cstdbool>
12 
13 #ifndef __bool_true_false_are_defined
14 #error __bool_true_false_are_defined not defined
15 #endif
16 
17 #ifdef bool
18 #error bool should not be defined
19 #endif
20 
21 #ifdef true
22 #error true should not be defined
23 #endif
24 
25 #ifdef false
26 #error false should not be defined
27 #endif
28 
29 int main(int, char**)
30 {
31 
32   return 0;
33 }
34