new testcase for rdar://5685492
authorChris Lattner <sabre@nondot.org>
Sun, 13 Jan 2008 00:19:57 +0000 (00:19 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 13 Jan 2008 00:19:57 +0000 (00:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45918 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/2008-01-12-VecInit.cpp [new file with mode: 0644]

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};
+