rs6000.c (rs6000_function_arg): Remove CALL_LIBCALL when returning call_cookie.
[official-gcc.git] / gcc / testsuite / gcc.dg / vector-subscript-1.c
blob7cc50af999be74f8c6460980020fcf3b1c424d84
1 /* { dg-do compile } */
2 /* { dg-options "-w" } */
4 #define vector __attribute__((vector_size(16) ))
5 /* Check that vector[index] works and index[vector] is rejected. */
7 float vf(vector float a)
9 return 0[a]; /* { dg-error "subscripted value is neither array nor pointer nor vector" } */
13 float fv(vector float a)
15 return a[0];