]> granicus.if.org Git - clang/commitdiff
this is really about both PR's, 4452 is "don't crash", 4451 is "recover nicely".
authorChris Lattner <sabre@nondot.org>
Sun, 6 Dec 2009 19:11:41 +0000 (19:11 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 6 Dec 2009 19:11:41 +0000 (19:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90714 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaCXX/nested-name-spec.cpp

index b0a27cbdf5ef09136d68a059e8b38bace866ba89..6a51261e26fcf9cabbf0f3c511804a1e9efa5af7 100644 (file)
@@ -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>'}}