OSDN Git Service

2010-09-24 Marcus Shawcroft <marcus.shawcroft@arm.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / debug / static1.C
1 // PR c++/24569
2
3 template <int dim>
4 struct S
5 {
6   static const int u = 2 * dim;
7   static const int p[u];
8   static int f();
9 };
10
11 template <>
12 inline int S<3>::f () { return 1; }
13
14 template <int dim> const int S<dim>::u;
15
16 template class S<3>;