blob: 13f6702771064704d2b25b6bb17c50d20b4c7db0 [file] [log] [blame]
// { dg-options "" }
template <class T> struct A {};
struct B {
static const int s;
A<int[s]> a; // { dg-error "variably modified|no type|trying to instantiate" }
};
const int B::s=16;
B b;