repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.dg
/
debug
/
static1.C
blob
7419ce5077ff1dad99cb3881aa706afbd5c53487
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>;