blob: 9cb6c38be1523c434c4adcf631844a1e88f8aa47 [file] [log] [blame]
// { dg-options "" }
template <class T> struct A {};
struct B {
static const int s;
A<int[s]> a; // { dg-error "array|template" }
};
const int B::s=16;
B b;