aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/aarch64/aapcs64/test_6.c
blob: 95d44e9232eb39e4c2f63720c1fb58538d0a2033 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* Test AAPCS layout (VFP variant) */

/* { dg-do run { target aarch64*-*-* } } */

#ifndef IN_FRAMEWORK
#define TESTFILE "test_6.c"

__complex__ double x = 1.0+2.0i;

struct y
{
  int p;
  int q;
  int r;
  int s;
} v = { 1, 2, 3, 4 };

#include "abitest.h"
#else
  ARG(struct y, v, X0)
  ARG(float, 1.0f, S0)
  ARG(__complex__ double, x, D1)
  ARG(float, 2.0f, S3)
  ARG(double, 5.0, D4)
  LAST_ARG(int, 3, W2)
#endif