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
2003-01-08 Larin Hennessey <larin@science.oregonstate.edu>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload30.C
1
// PRMS Id: 6412
2
// Build don't link:
3
4
class Foo;
5
6
template <class F>
7
class Temp
8
{
9
F func_;
10
public:
11
Temp (F f) : func_(f) {}
12
};
13
14
template <class T>
15
T* func1 (T* t) { return t; }
16
17
Temp<Foo*(*)(Foo*)> temp2(func1);