Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
t28.C
blob: 64b1a56e8e704c5991fe0ba6939c8f0c07071733 [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
class
X
>
class
B
;
template
<
class
X
>
int
f
(
B
<
X
>
b
)
{
return
37
;
}
template
<
class
Y
>
class
B
{
public
:
Y y
;
B
()
{
y
=
1
;
}
};
int
foo
()
{
B
<double>
bd
;
return
f
(
bd
);
}