OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.old-deja/g++.other/eh4.C: Fix typo.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
cond1.C
1
// Build don't run:
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