Debian Codegraph @

clang/test/Sema/vector_swizzle_length.c

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