[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash85.C
blobe0b6ee19881e3a9655d54ef9edf435de2c7f0f52
1 // Contributed by Dodji Seketeli <dodji@redhat.com>
2 // Origin: PR c++/37142
3 // { dg-do compile }
5 template<typename T, const T a, template <typename U, U u> class W> struct A {};
7 template<typename T, const T t> struct B {};
9 int
10 main ()
12   A<long, 0, B> a;
13   return 0;