new testcase for rdar://5685492
[oota-llvm.git] / test / C++Frontend / 2008-01-12-VecInit.cpp
diff --git a/test/C++Frontend/2008-01-12-VecInit.cpp b/test/C++Frontend/2008-01-12-VecInit.cpp
new file mode 100644 (file)
index 0000000..e21bbb9
--- /dev/null
@@ -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};
+