Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr78684.C
blob: 5d71be5fce4f1188e66ed6c3b9caa0e7661e37fd [
file
] [
log
] [
blame
]
// PR middle-end/78684
// { dg-do compile }
class
a
{
public
:
a
(
long
);
void
operator
<<=(
long
)
{
long
b
;
for
(
unsigned
long
c
;
c
;
c
--)
d
[
c
+
b
]
=
d
[
c
];
}
a
&
g
();
long
d
[
28
];
};
long
e
;
int
f
;
void
j
()
{
a h
(
e
),
i
=
h
;
i
.
g
()
<<=
f
;
}