1  /* PR target/109117 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-mvaes -mno-avx512vl" } */
       4  
       5  typedef char __v16qi __attribute__ ((__vector_size__(16)));
       6  typedef long long __m128i __attribute__((__vector_size__(16), __aligned__(16)));
       7  volatile __v16qi x, y;
       8  volatile __m128i res;
       9  
      10  void
      11  foo (void)
      12  {
      13        res = __builtin_ia32_vaesdec_v16qi (x, y); /* { dg-warning "implicit declaration of function" } */
      14  }     /* { dg-error "incompatible types when assigning to type" "" { target *-*-* } .-1 } */