From 1f476a1783d95d9b53b10f763789e8afeded42f3 Mon Sep 17 00:00:00 2001 From: John McCall Date: Fri, 26 Feb 2010 08:45:28 +0000 Subject: Fix an assertion-on-error during tentative constructor parsing by propagating error conditions out of the various annotate-me-a-snowflake routines. Generally (but not universally) removes redundant diagnostics as well as, you know, not crashing on bad code. On the other hand, I have just signed myself up to fix fiddly parser errors for the next week. Again. llvm-svn: 97221 --- clang/test/SemaTemplate/nested-name-spec-template.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/test/SemaTemplate/nested-name-spec-template.cpp') diff --git a/clang/test/SemaTemplate/nested-name-spec-template.cpp b/clang/test/SemaTemplate/nested-name-spec-template.cpp index 704b8cfce12..1691db74a11 100644 --- a/clang/test/SemaTemplate/nested-name-spec-template.cpp +++ b/clang/test/SemaTemplate/nested-name-spec-template.cpp @@ -49,6 +49,5 @@ struct ::N::A::X { template struct TestA { typedef typename N::template B::type type; // expected-error{{'B' following the 'template' keyword does not refer to a template}} \ - // expected-error{{identifier or template-id}} \ // expected-error{{expected member name}} }; -- cgit v1.2.3