Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.target / aarch64 / aapcs64 / test_8.c
1 /* Test AAPCS layout (VFP variant) */
2
3 /* { dg-do run { target aarch64*-*-* } } */
4
5 #ifndef IN_FRAMEWORK
6 #define VFP
7 #define TESTFILE "test_8.c"
8
9 struct z
10 {
11   double x[4];
12 };
13
14 struct z a = { 5.0, 6.0, 7.0, 8.0 };
15 struct z b = { 9.0, 10.0, 11.0, 12.0 };
16
17 #include "abitest.h"
18 #else
19   ARG(struct z, a, D0)
20   ARG(struct z, b, D4)
21   ARG(double, 0.5, STACK)
22   ARG(int, 7, W0)
23   LAST_ARG(int, 8, W1) 
24 #endif