diff options
Diffstat (limited to 'test/Preprocessor/line-directive.c')
-rw-r--r-- | test/Preprocessor/line-directive.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Preprocessor/line-directive.c b/test/Preprocessor/line-directive.c index 33dd9bb3fe..878d067a30 100644 --- a/test/Preprocessor/line-directive.c +++ b/test/Preprocessor/line-directive.c @@ -1,6 +1,6 @@ -// RUN: clang-cc -fsyntax-only -verify -pedantic %s -// RUN: clang-cc -E %s 2>&1 | grep 'blonk.c:92:2: error: #error ABC' -// RUN: clang-cc -E %s 2>&1 | grep 'blonk.c:93:2: error: #error DEF' +// RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s +// RUN: %clang_cc1 -E %s 2>&1 | grep 'blonk.c:92:2: error: #error ABC' +// RUN: %clang_cc1 -E %s 2>&1 | grep 'blonk.c:93:2: error: #error DEF' #line 'a' // expected-error {{#line directive requires a positive integer argument}} #line 0 // expected-error {{#line directive requires a positive integer argument}} |