Home | History | Annotate | Download | only in Preprocessor
      1 // RUN: %clang_cc1 %s -E -dM -triple i386-apple-darwin10 -o - | FileCheck %s --check-prefix=CHECK-DARWIN
      2 
      3 // RUN: %clang_cc1 %s -E -dM -triple x86_64-unknown-linux -o - | FileCheck %s --check-prefix=CHECK-NONDARWIN
      4 
      5 
      6 // CHECK-DARWIN: #define __nonnull _Nonnull
      7 // CHECK-DARWIN: #define __null_unspecified _Null_unspecified
      8 // CHECK-DARWIN: #define __nullable _Nullable
      9 
     10 // CHECK-NONDARWIN-NOT: __nonnull
     11 // CHECK-NONDARWIN: #define __clang__
     12 // CHECK-NONDARWIN-NOT: __nonnull
     13