Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
analyzer
/
pr96643.C
blob: 2d0a248c73efaaffc208650749b5344a1f443fda [
file
] [
log
] [
blame
]
/* { dg-additional-options "-O1" } */
int
l0
;
class
qv
{
public
:
int
operator
[]
(
int
b1
)
const
{
return
k2
[
b1
];
}
private
:
int
*
k2
;
};
class
g0
{
qv nf
,
v6
;
void
iq
();
};
void
g0
::
iq
()
{
for
(;;)
if
(
nf
[
0
]
==
0
)
++
l0
;
}