aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/line-directive.c
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-02-02 00:16:13 +0000
committerTed Kremenek <kremenek@apple.com>2012-02-02 00:16:13 +0000
commit34a2c42ba8cc58a404238a3c1cbc4a7442e57832 (patch)
treec9ed684ccda1741fcd6a3b7b594612e074cc5d4d /test/Preprocessor/line-directive.c
parentf83a615ad0004fc4cca3e3c1ea2234a685487304 (diff)
Per discussion on cfe-dev, remove '#error' and '#warning' from diagnostic text.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Preprocessor/line-directive.c')
-rw-r--r--test/Preprocessor/line-directive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Preprocessor/line-directive.c b/test/Preprocessor/line-directive.c
index 102469449e..28e93029a5 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: #error ABC'
-// RUN: %clang_cc1 -E %s 2>&1 | grep 'blonk.c:93:2: error: #error DEF'
+// 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'
#line 'a' // expected-error {{#line directive requires a positive integer argument}}
#line 0 // expected-error {{#line directive requires a positive integer argument}}