Debian Codegraph @

gcc/testsuite/g++.dg/parse/array-size1.C

raw
1 // PR c++/38
2 // Origin: Wolfgang Bangerth <[email protected]>
3 // { dg-do compile }
4
5 template <int i> struct A
6 {
7 static const int n = 1;
8 typedef double X[n];
9
10 A (const X&);
11 };
12
13 template <int i> A<i>::A (const X&) {}