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 #include "test_macros.h" 14 15 #ifndef __bool_true_false_are_defined 16 #error __bool_true_false_are_defined not defined 17 #endif 18 19 #ifdef bool 20 #error bool should not be defined 21 #endif 22 23 #ifdef true 24 #error true should not be defined 25 #endif 26 27 #ifdef false 28 #error false should not be defined 29 #endif 30 main(int,char **)31int main(int, char**) 32 { 33 34 return 0; 35 } 36