1 // RUN: clang-cc -emit-llvm %s -o - 2 typedef short __v4hi __attribute__ ((__vector_size__ (8))); 3 4 void f() 5 { 6 __v4hi A = (__v4hi)0LL; 7 } 8 9 __v4hi x = {1,2,3}; 10 __v4hi y = {1,2,3,4}; 11 12 typedef int vty __attribute((vector_size(16))); 13 int a() { vty b; return b[2LL]; } 14 15 // PR4339 16 typedef float vec4 __attribute__((vector_size(16))); 17 18 void vac ( vec4* a, char b, float c ) 19 { 20 (*a)[b] = c; 21 } 22