blob: b1e047d1d0053be3e21737cb57de7633f4a1f68a [file] [log] [blame]
// PR c++/28595
template<int> struct A
{
static const int i;
};
template<int N> struct B
{
char c[A<N>::i], d; // { dg-error "constant" }
};
B<0> b;