diff options
Diffstat (limited to 'test/Preprocessor/line-directive.c')
-rw-r--r-- | test/Preprocessor/line-directive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Preprocessor/line-directive.c b/test/Preprocessor/line-directive.c index ea0a36f..0dd658f 100644 --- a/test/Preprocessor/line-directive.c +++ b/test/Preprocessor/line-directive.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify -pedantic %s -// RUN: %clang_cc1 -E %s 2>&1 | grep 'blonk.c:92:2: error: ABC' -// RUN: %clang_cc1 -E %s 2>&1 | grep 'blonk.c:93:2: error: DEF' +// RUN: not %clang_cc1 -E %s 2>&1 | grep 'blonk.c:92:2: error: ABC' +// RUN: not %clang_cc1 -E %s 2>&1 | grep 'blonk.c:93:2: error: DEF' #line 'a' // expected-error {{#line directive requires a positive integer argument}} #line 0 // expected-warning {{#line directive with zero argument is a GNU extension}} |