(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
aapcs64/
va_arg_dfp-11.c
       1  /* Test AAPCS64 layout and __builtin_va_arg.
       2  
       3     Miscellaneous test: Anonymous arguments passed on the stack.  */
       4  
       5  /* { dg-do run { target aarch64*-*-* } } */
       6  
       7  #ifndef IN_FRAMEWORK
       8  #define AAPCS64_TEST_STDARG
       9  #define TESTFILE "va_arg_dfp-11.c"
      10  
      11  struct z
      12  {
      13    _Decimal64 x[2];
      14  };
      15  
      16  _Decimal64 d1 = 25.0dd;
      17  struct z a = { 5.0dd, 6.0dd };
      18  
      19  #include "abitest.h"
      20  #else
      21    ARG(_Decimal64, 1.0dd, D0, 0)
      22    ARG(_Decimal64, 2.0dd, D1, 1)
      23    ARG(_Decimal64, 3.0dd, D2, 2)
      24    ARG(_Decimal64, 4.0dd, D3, 3)
      25    ARG(_Decimal64, 5.0dd, D4, 4)
      26    ARG(_Decimal64, 6.0dd, D5, 5)
      27    ARG(_Decimal64, 7.0dd, D6, LAST_NAMED_ARG_ID)
      28    DOTS
      29    ANON(struct z, a, STACK, 8)
      30    LAST_ANON(_Decimal64, d1, STACK+16, 9)
      31  
      32  #endif