gcc/
[official-gcc.git] / gcc / testsuite / c-c++-common / vector-subscript-2.c
blob84d55b91d20036521eb44d9d02750379a13cc9ff
1 /* { dg-do compile } */
3 /* Check that subscripting of vectors work with register storage class decls. */
5 #define vector __attribute__((vector_size(16) ))
8 float vf(int i)
10 register vector float a;
11 return a[0];