Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
;
}