[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / array15.C
blobb1e047d1d0053be3e21737cb57de7633f4a1f68a
1 // PR c++/28595
3 template<int> struct A
5   static const int i;
6 };
8 template<int N> struct B
10   char c[A<N>::i], d; // { dg-error "constant" }
13 B<0> b;