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 // 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 30 int main() 31 { 32 } 33