Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.target / aarch64 / aapcs64 / test_22.c
1 /* Test AAPCS64 layout */
2
3 /* { dg-do run { target aarch64*-*-* } } */
4
5 #ifndef IN_FRAMEWORK
6 #define TESTFILE "test_22.c"
7
8 struct y
9 {
10   float p;
11   float q;
12 } v = { 345.0f, 678.0f };
13
14 #include "abitest.h"
15 #else
16   ARG(float, 123.0f, S0)
17   ARG(struct y, v, S1)
18   LAST_ARG(float, 901.0f, S3)
19 #endif