summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/pushable-diagnostics.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-08-30 15:15:34 +0000
committerDouglas Gregor <dgregor@apple.com>2010-08-30 15:15:34 +0000
commit3cc2648b476e4b87e355dea3b16981a1f7498532 (patch)
treea8e22dae9a48384bada3c1e3ad93c6246f6ba697 /clang/test/Preprocessor/pushable-diagnostics.c
parent7983340465c988add39c18c108d85b2357ea86ae (diff)
downloadbcm5719-llvm-3cc2648b476e4b87e355dea3b16981a1f7498532.tar.gz
bcm5719-llvm-3cc2648b476e4b87e355dea3b16981a1f7498532.zip
Now that GCC will have #pragma push/pop (in GCC 4.6), allow the
#pragma without requiring it to be in the "clang" namespace, from Louis Gerbarg! llvm-svn: 112484
Diffstat (limited to 'clang/test/Preprocessor/pushable-diagnostics.c')
-rw-r--r--clang/test/Preprocessor/pushable-diagnostics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Preprocessor/pushable-diagnostics.c b/clang/test/Preprocessor/pushable-diagnostics.c
index 6c861a1b3b6..567a866fa33 100644
--- a/clang/test/Preprocessor/pushable-diagnostics.c
+++ b/clang/test/Preprocessor/pushable-diagnostics.c
@@ -2,7 +2,7 @@
#pragma clang diagnostic pop // expected-warning{{pragma diagnostic pop could not pop, no matching push}}
-#pragma clang diagnostic puhs // expected-warning{{pragma diagnostic expected 'error', 'warning', 'ignored', 'fatal' 'push', or 'pop'}}
+#pragma clang diagnostic puhs // expected-warning {{pragma diagnostic expected 'error', 'warning', 'ignored', 'fatal', 'push', or 'pop'}}
char a = 'df'; // expected-warning{{multi-character character constant}}
OpenPOWER on IntegriCloud