PR middle-end/77674
[official-gcc.git] / gcc / testsuite / g++.dg / warn / Wparentheses-27.C
blob7c05f7e806ce7f1181c85d1b56c9f634c302ad56
1 // PR c++/54194
2 // { dg-options "-Wparentheses" }
4 int main()
6   char in[4] = { 0 };
7   in[1] = in[1] & 0x0F | ((in[3] & 0x3C) << 2); // { dg-warning "17:suggest parentheses" }