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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p4104.C
blob
0f61cd27f63c74a35c9b74152ef91d511db00bb0
1
// { dg-do run }
2
// prms-id: 4104
3
4
template <class T>
5
void F(T &a, void (*P)(T &temp)) {
6
(*P)(a);
7
}
8
9
template <class T>
10
void G(T &a) {
11
}
12
13
int main() {
14
int a;
15
F(a, G);
16
}