diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-08-30 15:15:34 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-08-30 15:15:34 +0000 |
commit | 3cc2648b476e4b87e355dea3b16981a1f7498532 (patch) | |
tree | a8e22dae9a48384bada3c1e3ad93c6246f6ba697 /clang/test/Preprocessor/pushable-diagnostics.c | |
parent | 7983340465c988add39c18c108d85b2357ea86ae (diff) | |
download | bcm5719-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.c | 2 |
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}} |