Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/aapcs64/test_complex.c

raw
1 /* Test AAPCS layout (VFP variant) */
2
3 /* { dg-do run { target aarch64*-*-* } } */
4
5 #ifndef IN_FRAMEWORK
6 #define TESTFILE "test_complex.c"
7
8 __complex__ float x = 1.0+2.0i;
9 __complex__ int y = 5 + 6i;
10 __complex__ double z = 2.0 + 3.0i;
11
12 #include "abitest.h"
13 #else
14 ARG(__complex__ float, x, S0)
15 ARG(__complex__ int, y, X0)
16 ARG(__complex__ double, z, D2)
17 LAST_ARG (int, 5, W1)
18 #endif