(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
union-1.c
       1  /* PR target/15783 */
       2  /* Origin: Paul Pluzhnikov <ppluzhnikov@charter.net> */
       3  
       4  /* This used to ICE on SPARC 64-bit because the back-end was
       5     returning an invalid construct for the return value of fu2.  */
       6  
       7  /* { dg-do compile } */
       8  
       9  union u2 {
      10      struct
      11      {
      12          int u2s_a, u2s_b, u2s_c, u2s_d, u2s_e;
      13      } u2_s;
      14      double u2_d;
      15  } u2a;
      16  
      17  union u2 fu2();
      18  
      19  void unions()
      20  {
      21      u2a = fu2();
      22  }