(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
20170401-2.c
       1  void adjust_xy (short *, short *);
       2  
       3  struct adjust_template
       4  {
       5    short kx_x;
       6    short kx_y;
       7  };
       8  
       9  static struct adjust_template adjust = {1, 1};
      10  
      11  main ()
      12  {
      13    short x = 1, y = 1;
      14  
      15    adjust_xy (&x, &y);
      16  
      17    if (x != 2)
      18      abort ();
      19  
      20    exit (0);
      21  }
      22  
      23  void
      24  adjust_xy (x, y)
      25       short  *x;
      26       short  *y;
      27  {
      28    *x = adjust.kx_x * *x + adjust.kx_y * *y;
      29  }