diff options
Diffstat (limited to 'test/Preprocessor/pic.c')
-rw-r--r-- | test/Preprocessor/pic.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Preprocessor/pic.c b/test/Preprocessor/pic.c index 3e649ee5ea2d1..ec8c9542f001e 100644 --- a/test/Preprocessor/pic.c +++ b/test/Preprocessor/pic.c @@ -19,16 +19,16 @@ // CHECK-PIC2: #define __pic__ 2 // CHECK-PIC2-NOT: #define __pie__ // -// RUN: %clang_cc1 -pie-level 1 -dM -E -o - %s \ +// RUN: %clang_cc1 -pic-level 1 -pic-is-pie -dM -E -o - %s \ // RUN: | FileCheck --check-prefix=CHECK-PIE1 %s -// CHECK-PIE1-NOT: #define __PIC__ +// CHECK-PIE1: #define __PIC__ 1 // CHECK-PIE1: #define __PIE__ 1 -// CHECK-PIE1-NOT: #define __pic__ +// CHECK-PIE1: #define __pic__ 1 // CHECK-PIE1: #define __pie__ 1 // -// RUN: %clang_cc1 -pie-level 2 -dM -E -o - %s \ +// RUN: %clang_cc1 -pic-level 2 -pic-is-pie -dM -E -o - %s \ // RUN: | FileCheck --check-prefix=CHECK-PIE2 %s -// CHECK-PIE2-NOT: #define __PIC__ +// CHECK-PIE2: #define __PIC__ 2 // CHECK-PIE2: #define __PIE__ 2 -// CHECK-PIE2-NOT: #define __pic__ +// CHECK-PIE2: #define __pic__ 2 // CHECK-PIE2: #define __pie__ 2 |