From: Richard Smith Date: Tue, 24 Sep 2013 05:07:58 +0000 (+0000) Subject: Hopefully unbreak bots which are seeing an assert in this test. Temporary, real X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0302214d4a10ed328b1ec2de932f112881e9c217;p=clang Hopefully unbreak bots which are seeing an assert in this test. Temporary, real fix to come once I've tracked down the problem (which is pre-existing and not related to the change which introduced this test). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191279 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CXX/temp/temp.decls/temp.class.spec/p8-1y.cpp b/test/CXX/temp/temp.decls/temp.class.spec/p8-1y.cpp index 24513b78fa..a49db5166a 100644 --- a/test/CXX/temp/temp.decls/temp.class.spec/p8-1y.cpp +++ b/test/CXX/temp/temp.decls/temp.class.spec/p8-1y.cpp @@ -26,4 +26,10 @@ template struct X { }; template template int X::y; // expected-warning {{can not be deduced}} expected-note {{'Inner'}} template template int X::y; // expected-error {{does not specialize}} -template<> template int X::y; // expected-error {{does not specialize}} + +// FIXME: Merging this with the above class causes an assertion failure when +// instantiating one of the bogus partial specializations. +template struct Y { + template static int y; +}; +template<> template int Y::y; // expected-error {{does not specialize}}