[cfe-commits] r90714 - /cfe/trunk/test/SemaCXX/nested-name-spec.cpp
Chris Lattner
sabre at nondot.org
Sun Dec 6 11:11:41 PST 2009
Author: lattner
Date: Sun Dec 6 13:11:41 2009
New Revision: 90714
URL: http://llvm.org/viewvc/llvm-project?rev=90714&view=rev
Log:
this is really about both PR's, 4452 is "don't crash", 4451 is "recover nicely".
Modified:
cfe/trunk/test/SemaCXX/nested-name-spec.cpp
Modified: cfe/trunk/test/SemaCXX/nested-name-spec.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/nested-name-spec.cpp?rev=90714&r1=90713&r2=90714&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/nested-name-spec.cpp (original)
+++ cfe/trunk/test/SemaCXX/nested-name-spec.cpp Sun Dec 6 13:11:41 2009
@@ -186,7 +186,7 @@
};
-// 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>'}}
More information about the cfe-commits
mailing list