diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-04-19 21:42:37 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-04-19 21:42:37 +0000 |
commit | e106a0bfac30a8a215a68cc28aeb46b054dcb91f (patch) | |
tree | 25dc6d6e2f486b499fafb9b54bfdcfa80b41c991 /test/Parser/cxx-decl.cpp | |
parent | 0d027ba3e5b0e59ecde05747330a871ba174a0da (diff) |
Avoid superfluous warning after an error is detcted and reported.
// rdar://9132143
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129822 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Parser/cxx-decl.cpp')
-rw-r--r-- | test/Parser/cxx-decl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Parser/cxx-decl.cpp b/test/Parser/cxx-decl.cpp index 6d720d36a2..70eff973e0 100644 --- a/test/Parser/cxx-decl.cpp +++ b/test/Parser/cxx-decl.cpp @@ -7,8 +7,8 @@ struct Type { }; // rdar://8365458 -typedef char bool; // expected-error {{redeclaration of C++ built-in type 'bool'}} \ - // expected-warning {{declaration does not declare anything}} +// rdar://9132143 +typedef char bool; // expected-error {{redeclaration of C++ built-in type 'bool'}} // PR4451 - We should recover well from the typo of '::' as ':' in a2. namespace y { |