Warn pointer to signed integer cast for ilp32
[official-gcc.git] / gcc / testsuite / gcc.dg / pr37985.c
blob93e640b4a36617818dcb7bd07cb7b840c1a7c107
1 /* PR c37985 */
2 /* { dg-do compile } */
3 /* { dg-options " -Wall -Wextra " } */
4 unsigned char foo(unsigned char a)
6 a >> 2; /* { dg-warning "no effect" } */
7 return a;