1  /* Test AAPCS64 layout for HFA with zero-sized bit-field.  */
       2  
       3  /* { dg-do run { target aarch64*-*-* } } */
       4  
       5  #ifndef IN_FRAMEWORK
       6  #define VFP
       7  #define TESTFILE "test_28.c"
       8  
       9  /* Anonymous bitfields do not add members; if they do not change the layout
      10     then the end result may still be an HFA.  */
      11  struct z
      12  {
      13    float a;
      14    int :0;
      15    float b;
      16  };
      17  
      18  struct z a = { 5.0f, 6.0f };
      19  struct z b = { 9.0f, 10.0f };
      20  
      21  #define MYFUNCTYPE struct z
      22  
      23  #include "abitest.h"
      24  #else
      25    ARG(int, 7, W0)
      26    ARG(struct z, a, S0)
      27    LAST_ARG(struct z, b, S2)
      28  #endif