Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Preprocessor / predefined-nullability.c
blobd736afa9b0826b7124d9c3464ae6652c602537ab
1 // RUN: %clang_cc1 %s -E -dM -triple i386-apple-darwin10 -o - | FileCheck %s --check-prefix=CHECK-DARWIN
3 // RUN: %clang_cc1 %s -E -dM -triple x86_64-unknown-linux -o - | FileCheck %s --check-prefix=CHECK-NONDARWIN
6 // CHECK-DARWIN: #define __nonnull _Nonnull
7 // CHECK-DARWIN: #define __null_unspecified _Null_unspecified
8 // CHECK-DARWIN: #define __nullable _Nullable
10 // CHECK-NONDARWIN-NOT: __nonnull
11 // CHECK-NONDARWIN: #define __clang__
12 // CHECK-NONDARWIN-NOT: __nonnull