[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Sema / vector_swizzle_length.c
blobdc3a56c5a01cbaa15f306218779b69a74a67307f
1 // RUN: %clang_cc1 -x c %s -verify -pedantic -fsyntax-only
2 // expected-no-diagnostics
4 typedef float float8 __attribute__((ext_vector_type(8)));
6 void foo(void) {
7 float8 f2 = (float8){0, 0, 0, 0, 0, 0, 0, 0};
8 (void)f2.s01234;
9 (void)f2.xyzxy;