summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/nested-name-spec.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-07-16 04:32:28 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-07-16 04:32:28 +0000
commit9339605c3545dcfd5f6e0dbc0ae203d3c3e5074c (patch)
tree4763304f419ee8143830007e3dc1ffc648827b69 /clang/test/SemaCXX/nested-name-spec.cpp
parent5530131bb786d649a55c60cfbc5cae569aa26f2d (diff)
downloadbcm5719-llvm-9339605c3545dcfd5f6e0dbc0ae203d3c3e5074c.tar.gz
bcm5719-llvm-9339605c3545dcfd5f6e0dbc0ae203d3c3e5074c.zip
Butcher a perfectly reasonable diagnostic to pacify old versions of SWIG.
llvm-svn: 108505
Diffstat (limited to 'clang/test/SemaCXX/nested-name-spec.cpp')
-rw-r--r--clang/test/SemaCXX/nested-name-spec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/nested-name-spec.cpp b/clang/test/SemaCXX/nested-name-spec.cpp
index 0dc1097e386..acdec6183ed 100644
--- a/clang/test/SemaCXX/nested-name-spec.cpp
+++ b/clang/test/SemaCXX/nested-name-spec.cpp
@@ -102,7 +102,7 @@ void f6(int A2::RC::x); // expected-error{{parameter declarator cannot be qualif
int A2::RC::x; // expected-error{{non-static data member defined out-of-line}}
-void A2::CC::NC::m(); // expected-error{{out-of-line declaration of a member must be a definition}}
+void A2::CC::NC::m(); // expected-warning{{out-of-line declaration of a member must be a definition}}
namespace E {
OpenPOWER on IntegriCloud