Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / pr61158.c
blob67eca30b93aaeb879000bb5d86536194ff893ec1
1 /* PR tree-optimization/61158 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-original" } */
5 unsigned long long
6 foo (unsigned int x)
8 return ((unsigned long long) x & 0x00ff000000000000ULL) >> 40;
11 /* { dg-final { scan-tree-dump "return 0;" "original" { target { ilp32 || lp64 } } } } */