Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit56.C
blob: f3e3ed30babf61abf72b0ce97725ca81cd50bbbc [
file
] [
log
] [
blame
]
// { dg-do run }
template
<
class
T
>
T
*
create
();
template
<
class
T
>
T
*
create2
()
{
return
create
<
T
>();
}
template
<
class
T
>
T
*
create
()
{
return
new
T
;
}
int
main
()
{
int
*
p
=
create2
<int>
();
}