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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
template39.C
blob
51eace366cb950388b9c968d346dd93fad47f259
1
// { dg-do assemble }
2
// PRMS Id: 10283
3
4
template <class T> struct B {
5
static void (*p)();
6
static void f ();
7
};
8
9
template <class T>
10
void (*B<T>::p)() = &B<T>::f;
11
12
B<int> b;
13
14
template <int i> struct A {
15
static const int j = i;
16
int k[j];
17
};
18
19
A<1> a;
20
21
template <int i>
22
const int A<i>::j;