summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-06 19:11:41 +0000
committerChris Lattner <sabre@nondot.org>2009-12-06 19:11:41 +0000
commit2b6651e90848e02c7048b4ffcc282727a55683cb (patch)
tree362de911d908253816d624c107eb4325779ef0e6 /clang
parent71d5bf1c5d740b6a80b30a4054e135fa706d7b96 (diff)
downloadbcm5719-llvm-2b6651e90848e02c7048b4ffcc282727a55683cb.tar.gz
bcm5719-llvm-2b6651e90848e02c7048b4ffcc282727a55683cb.zip
this is really about both PR's, 4452 is "don't crash", 4451 is "recover nicely".
llvm-svn: 90714
Diffstat (limited to 'clang')
-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 b0a27cbdf5e..6a51261e26f 100644
--- a/clang/test/SemaCXX/nested-name-spec.cpp
+++ b/clang/test/SemaCXX/nested-name-spec.cpp
@@ -186,7 +186,7 @@ class foo {
};
-// PR4451
+// PR4452 / PR4451
foo<somens:a> a2; // expected-error {{unexpected ':' in nested name specifier}}
somens::a a3 = a2; // expected-error {{cannot initialize 'a3' with an lvalue of type 'foo<somens::a>'}}
OpenPOWER on IntegriCloud