summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr24840.c
blob: 736dafdec5974eab7f23540fbae5e02e25770680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */
/* { dg-options "-O2" } */

typedef struct
{
  int tag, y;
} Object;

void Err_Handler () __attribute__ ((__noreturn__));

int
P_Error (int argc, Object * argv)
{
    if (((argv[1]).tag >> 1) != 11)
      Wrong_Type (argv[1], 11);
  Err_Handler (argv[0], argv[1], argc - 2, argv + 2);
}