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
};
template<typename Outer> template<typename Inner> int X<Outer>::y<Outer>; // expected-warning {{can not be deduced}} expected-note {{'Inner'}}
template<typename Outer> template<typename Inner> int X<Outer>::y<Inner>; // expected-error {{does not specialize}}
-template<> template<typename Inner> int X<int>::y<Inner>; // 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<typename Outer> struct Y {
+ template<typename Inner> static int y;
+};
+template<> template<typename Inner> int Y<int>::y<Inner>; // expected-error {{does not specialize}}