Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wunused-var-16.C
blob: 070ce446bbac9dc3e9f291616be2544cfbd2ead6 [
file
] [
log
] [
blame
]
// PR c++/50158
// { dg-do compile }
// { dg-options "-Wunused" }
int
bar
(
int
);
int
foo
(
int
a
)
{
int
b
[]
=
{
a
,
-
a
};
a
+=
b
[
bar
(
a
)
<
a
];
return
a
;
}