1 /* { dg-do compile } */
3 /* Check that subscripting of vectors work with register storage class decls. */
5 #define vector __attribute__((vector_size(16) ))
10 register vector
float a
; // { dg-warning "ISO C\\+\\+17 does not allow 'register' storage class specifier" "" { target c++17 } }