diff options
Diffstat (limited to 'test/Preprocessor/_Pragma-physloc.c')
-rw-r--r-- | test/Preprocessor/_Pragma-physloc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Preprocessor/_Pragma-physloc.c b/test/Preprocessor/_Pragma-physloc.c index a093af2..6d1dcdb 100644 --- a/test/Preprocessor/_Pragma-physloc.c +++ b/test/Preprocessor/_Pragma-physloc.c @@ -1,5 +1,6 @@ -// RUN: %clang_cc1 %s -E | grep '#pragma x y z' -// RUN: %clang_cc1 %s -E | grep '#pragma a b c' +// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s +// CHECK: {{^}}#pragma x y z{{$}} +// CHECK: {{^}}#pragma a b c{{$}} _Pragma("x y z") _Pragma("a b c") |