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