Home | History | Annotate | Download | only in Headers
      1 // RUN: %clang_cc1 -E -dM %s | FileCheck --check-prefix=CHECK-GNU-COMPAT %s
      2 // RUN: %clang_cc1 -std=c++98 -E -dM %s | FileCheck --check-prefix=CHECK-CONFORMING %s
      3 #include <stdbool.h>
      4 #define zzz
      5 
      6 // CHECK-GNU-COMPAT: #define _Bool bool
      7 // CHECK-GNU-COMPAT: #define bool bool
      8 // CHECK-GNU-COMPAT: #define false false
      9 // CHECK-GNU-COMPAT: #define true true
     10 
     11 // CHECK-CONFORMING-NOT: #define _Bool
     12 // CHECK-CONFORMING: #define __CHAR_BIT__
     13 // CHECK-CONFORMING-NOT: #define false false
     14 // CHECK-CONFORMING: #define zzz
     15