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
* c-common.c (catenate_strings): New.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload30.C
blob
9f65080eb19eb02cc5eca6ede15e2519fa7c586f
1
// { dg-do assemble }
2
// PRMS Id: 6412
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);