Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wparentheses-27.C
blob: 7c05f7e806ce7f1181c85d1b56c9f634c302ad56 [
file
] [
log
] [
blame
]
// PR c++/54194
// { dg-options "-Wparentheses" }
int
main
()
{
char
in
[
4
]
=
{
0
};
in
[
1
]
=
in
[
1
]
&
0x0F
|
((
in
[
3
]
&
0x3C
)
<<
2
);
// { dg-warning "17:suggest parentheses" }
}