(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
20000801-3.c
       1  /* Origin: PR c/92 from Simon Marlow <t-simonm@microsoft.com>, adapted
       2     to a testcase by Joseph Myers <jsm28@cam.ac.uk>.
       3  */
       4  
       5  typedef struct { } empty;
       6  
       7  typedef struct {
       8    int i;
       9    empty e;
      10    int i2;
      11  } st;
      12  
      13  st s = { .i = 0, .i2 = 1 };
      14  
      15  extern void abort (void);
      16  
      17  int
      18  main (void)
      19  {
      20    if (s.i2 == 1)
      21      exit (0);
      22    else
      23      abort ();
      24  }