repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR middle-end/77674
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wparentheses-27.C
blob
7c05f7e806ce7f1181c85d1b56c9f634c302ad56
1
// PR c++/54194
2
// { dg-options "-Wparentheses" }
3
4
int main()
5
{
6
char in[4] = { 0 };
7
in[1] = in[1] & 0x0F | ((in[3] & 0x3C) << 2); // { dg-warning "17:suggest parentheses" }
8
}