diff --git a/test/C++Frontend/2008-01-12-VecInit.cpp b/test/C++Frontend/2008-01-12-VecInit.cpp new file mode 100644 index 00000000000..e21bbb9468c --- /dev/null +++ b/test/C++Frontend/2008-01-12-VecInit.cpp @@ -0,0 +1,6 @@ +// RUN: %llvmgcc -xc++ %s -S -o - +// rdar://5685492 + +typedef int __attribute__((vector_size(16))) v; +v vt = {1, 2, 3, 4}; +