(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
powerpc/
pr109932-1.c
       1  /* { dg-require-effective-target int128 } */
       2  /* { dg-require-effective-target powerpc_altivec_ok } */
       3  /* { dg-options "-maltivec -mno-vsx" } */
       4  
       5  /* Verify there is no ICE but one expected error message instead.  */
       6  
       7  #include <altivec.h>
       8  
       9  extern vector signed __int128 res_vslll;
      10  extern unsigned long long aull[2];
      11  
      12  void
      13  testVectorInt128Pack ()
      14  {
      15    res_vslll = __builtin_pack_vector_int128 (aull[0], aull[1]); /* { dg-error "'__builtin_pack_vector_int128' requires the '-mvsx' option" } */
      16  }
      17