Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
lookup9.C
blob: 683182c38001a7eec937d118e66c61dcbc37f85b [
file
] [
log
] [
blame
]
// { dg-do assemble }
// Origin: "Artem Hodyush" <artem@duma.gov.ru>
struct
B
{
int
m
;
};
template
<
class
T
>
void
q
(
T
&
t
)
{
t
.
T
::
m
=
1
;
}
void
f
()
{
B b
;
b
.
B
::
m
=
1
;
q
(
b
);
}