Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / gcc / testsuite / g++.dg / ext / vlm1.C
blob9cb6c38be1523c434c4adcf631844a1e88f8aa47
1 // { dg-options "" }
3 template <class T> struct A {};
4  
5 struct B {
6   static const int s;
7   A<int[s]> a; // { dg-error "array|template" }
8 };
9  
10 const int B::s=16;
12 B b;