aboutsummaryrefslogtreecommitdiff
path: root/test/C++Frontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-13 00:19:57 +0000
committerChris Lattner <sabre@nondot.org>2008-01-13 00:19:57 +0000
commit4db8f85c75c0eba5a9fe7981f4b9abe2be275899 (patch)
tree65ac1c2ae4b68b1f77e0a10f4bba1420c77c8655 /test/C++Frontend
parent3f732807f3e3c9c93ee3c0f5f8b5e1b558c40be2 (diff)
new testcase for rdar://5685492
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45918 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend')
-rw-r--r--test/C++Frontend/2008-01-12-VecInit.cpp6
1 files changed, 6 insertions, 0 deletions
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 0000000000..e21bbb9468
--- /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};
+