Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.target / aarch64 / aapcs64 / test_6.c
1 /* Test AAPCS layout (VFP variant) */
2
3 /* { dg-do run { target aarch64*-*-* } } */
4
5 #ifndef IN_FRAMEWORK
6 #define TESTFILE "test_6.c"
7
8 __complex__ double x = 1.0+2.0i;
9
10 struct y
11 {
12   int p;
13   int q;
14   int r;
15   int s;
16 } v = { 1, 2, 3, 4 };
17
18 #include "abitest.h"
19 #else
20   ARG(struct y, v, X0)
21   ARG(float, 1.0f, S0)
22   ARG(__complex__ double, x, D1)
23   ARG(float, 2.0f, S3)
24   ARG(double, 5.0, D4)
25   LAST_ARG(int, 3, W2)
26 #endif