aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/nested-name-spec.cpp
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
commit93fc8fbc82c9d083d7e106d0fc7f21f9678cbeb6 (patch)
treef49ccf63a963f5caac764bf122e6934cabfea014 /test/SemaCXX/nested-name-spec.cpp
parenta564b17dcc7daf298ffa72cde94630343bf9c31a (diff)
this is really about both PR's, 4452 is "don't crash", 4451 is "recover nicely".
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90714 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/nested-name-spec.cpp')
-rw-r--r--test/SemaCXX/nested-name-spec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/nested-name-spec.cpp b/test/SemaCXX/nested-name-spec.cpp
index b0a27cbdf5..6a51261e26 100644
--- a/test/SemaCXX/nested-name-spec.cpp
+++ b/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>'}}