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