Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
anon1.C
blob: ef73df6b39e6b93b5cd1bb876b1aff6ffcb3963f [
file
] [
log
] [
blame
]
struct
x
{
int
foo
()
{}
};
template
<
class
T
>
struct
vector
{
T
&
bar
()
{}
};
template
<
class
T
>
struct
y
{
typedef
struct
{
x t
;
}
s
;
vector
<s>
array
;
int
foo
()
{
return
array
.
bar
().
t
.
foo
();
}
};
int
i
=
y
<x>
().
foo
();