summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/931018-1.c
blob: 7efe40ec0947a2b98cce59ca6483c6821e7cc6df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
typedef struct
{
  int a, b;
} T;

f (T *bs)
{
  long long x;
  x = ({
    union { T s; long long l; } u;
    u.s = *bs;
    u.l;
  });
}