Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr24840.c
blob0ce9ed3a6208458cfff83533eb64f44a4641d839
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 typedef struct
6 int tag, y;
7 } Object;
9 void Err_Handler () __attribute__ ((__noreturn__));
10 void Wrong_Type (Object, int);
12 int
13 P_Error (int argc, Object * argv)
15 if (((argv[1]).tag >> 1) != 11)
16 Wrong_Type (argv[1], 11);
17 Err_Handler (argv[0], argv[1], argc - 2, argv + 2);