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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit43.C
blob
199bcc137d9314e834286fcc0d5ca2de17c45c4e
1
// { dg-do run }
2
extern "C" void abort(void);
3
4
void F(int)
5
{
6
}
7
8
9
void F(double)
10
{
11
abort();
12
}
13
14
template <void (*F)(int)>
15
void g()
16
{
17
(*F)(3);
18
}
19
20
21
int main()
22
{
23
g<&F>();
24
}