1 | // RUN: %clang_cc1 -fsyntax-only -E -dM -triple=armv7k-apple-watchos %s | FileCheck --check-prefix=BOOL %s |
2 | // RUN: %clang_cc1 -fsyntax-only -E -dM -triple=x86_64-apple-darwin16 %s | FileCheck --check-prefix=CHAR %s |
3 | // RUN: %clang_cc1 -x c -fsyntax-only -E -dM -triple=x86_64-apple-darwin16 %s | FileCheck --check-prefix=CHAR %s |
4 | // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -E -dM -triple=x86_64-apple-darwin16 %s | FileCheck --check-prefix=CHAR %s |
5 | // RUN: %clang_cc1 -x c++ -fsyntax-only -E -dM -triple=x86_64-apple-darwin16 %s | FileCheck --check-prefix=CHAR %s |
6 | |
7 | // rdar://21170440 |
8 | |
9 | // BOOL: #define __OBJC_BOOL_IS_BOOL 1 |
10 | // BOOL-NOT: #define __OBJC_BOOL_IS_BOOL 0 |
11 | |
12 | // CHAR: #define __OBJC_BOOL_IS_BOOL 0 |
13 | // CHAR-NOT: #define __OBJC_BOOL_IS_BOOL 1 |
14 | |