Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload30.C
blob: 9f65080eb19eb02cc5eca6ede15e2519fa7c586f [
file
] [
log
] [
blame
]
// { dg-do assemble }
// PRMS Id: 6412
class
Foo
;
template
<
class
F
>
class
Temp
{
F func_
;
public
:
Temp
(
F f
)
:
func_
(
f
)
{}
};
template
<
class
T
>
T
*
func1
(
T
*
t
)
{
return
t
;
}
Temp
<
Foo
*(*)(
Foo
*)>
temp2
(
func1
);