Fix ICE in substring-handling building 502.gcc_r (PR 87562)
[official-gcc.git] / gcc / testsuite / c-c++-common / init-vec-1.c
blob68243cd302f812ebf8293957c1452ff1e945e4e0
1 /* Don't ICE or emit spurious errors when init a vector with a scalar. */
2 /* { dg-do compile } */
3 typedef float v2sf __attribute__ ((vector_size (8)));
4 v2sf a = 0.0; /* { dg-error "incompatible types|cannot convert" } */