PR testsuite/52641
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr24840.c
blob736dafdec5974eab7f23540fbae5e02e25770680
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 typedef struct
6 int tag, y;
7 } Object;
9 void Err_Handler () __attribute__ ((__noreturn__));
11 int
12 P_Error (int argc, Object * argv)
14 if (((argv[1]).tag >> 1) != 11)
15 Wrong_Type (argv[1], 11);
16 Err_Handler (argv[0], argv[1], argc - 2, argv + 2);