Wattributes-10.c: Add -fno-common option on hppa*-*-hpux*.
[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" } */