2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / other / crash-12.C
blob6612ff216ba7436edec9d5edd765e3e3cbdc5e84
1 // Origin: PR c++/43953
3 template<typename T,
4          typename U,
5          typename T::type V> class bad;
7 // partial specialization
8 // for T = U
9 template<typename T, typename T::type V>
10 class bad<T, T, V>
12 public:
13   static void foo() {}
16 struct dummy
18   typedef int type;
21 int main()
23   bad<dummy, dummy, 0>::foo();