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++.old-deja
/
g++.other
/
cond1.C
blob
64cc728fc8fc0a1bc056bb57158ef366c6bb62b6
1
// { dg-do link }
2
// Origin: Mark Mitchell <mark@codesourcery.com>
3
4
template <class T>
5
void f (T&) ;
6
7
template <>
8
void f (void (&)())
9
{
10
}
11
12
void g ()
13
{
14
}
15
16
void h ()
17
{
18
}
19
20
bool b;
21
22
int main ()
23
{
24
f (b ? g : h);
25
}
26