aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/blk.c
blob: 08a2e1769d9d34263fe8ce1bed1936102f15a0da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* { dg-additional-options "-std=gnu89" } */

struct
{
  double a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t;
} foo, bar;

foobar ()
{
  foo = bar;
  xxx (&foo, &bar);
}

main ()
{
  bar.g = 1.0;
  foo.g = 2.0;
  foobar ();
  printf ("%lf\n", foo.g);
}