☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit43.C
☽
☼
gcc/testsuite/g++.old-deja/g++.pt/explicit43.C
code
plain
raw
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
}