aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/aarch64/aapcs64/test_complex.c
blob: 6bf9721cc4e70196545f04dc4be075069d9cd718 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* Test AAPCS layout (VFP variant) */

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

#ifndef IN_FRAMEWORK
#define TESTFILE "test_complex.c"

__complex__ float x = 1.0+2.0i;
__complex__ int y = 5 + 6i;
__complex__ double z = 2.0 + 3.0i;

#include "abitest.h"
#else
  ARG(__complex__ float, x, S0)
  ARG(__complex__ int, y, X0)
  ARG(__complex__ double, z, D2)
  LAST_ARG (int, 5, W1)
#endif