Debian Codegraph @

gcc/testsuite/g++.dg/ext/vlm1.C

raw
1 // { dg-options "" }
2
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;
11
12 B b;
13