aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/aarch64/aapcs64/ice_5.c
blob: da24ba8c9dea72365c725e84a0a13bc09376228e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* { dg-do compile { target aarch64*-*-* } } */

struct S
{
  union
    {
      long double b;
    } a;
};

struct S s;

extern struct S a[5];
extern struct S check (struct S, struct S *, struct S);
extern void checkx (struct S);

void test (void)
{
  checkx (check (s, &a[1], a[2]));
}