Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
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
);
}