llvm-project/clang/test/Sema/vector-init.c

6 lines
147 B
C

// RUN: clang %s -verify -fsyntax-only
typedef __attribute__(( ext_vector_type(4) )) float float4;
float4 foo = (float4){ 1.0, 2.0, 3.0, 4.0 };