Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
t21.C
blob: e91e56786012b1f175e0336b0f4f4c86615bc5b2 [
file
] [
log
] [
blame
]
// { dg-do assemble }
template
<
class
X
>
class
A
{
public
:
int
a
;
X x
;
};
template
<
class
X
>
X f
(
A
<
X
>
a
)
{
return
a
.
x
;
}
extern
A
<double>
a_dbl
;
double
fred
()
{
return
f
(
a_dbl
);
}