// { 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;
 


syntax highlighted by Code2HTML, v. 0.9.1