11 lines · c
1// RUN: %clang_cc1 -x c %s -verify -pedantic -fsyntax-only2// expected-no-diagnostics3 4typedef float float8 __attribute__((ext_vector_type(8)));5 6void foo(void) {7 float8 f2 = (float8){0, 0, 0, 0, 0, 0, 0, 0};8 (void)f2.s01234;9 (void)f2.xyzxy;10}11