aboutsummaryrefslogtreecommitdiffstats
path: root/test
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
commita63e63dcf111b11b8e565d97c3b0f1fca91188b1 (patch)
tree65ac1c2ae4b68b1f77e0a10f4bba1420c77c8655 /test
parent2dff5dd9e04586c62482d2f9bddaae53502ec1d4 (diff)
downloadexternal_llvm-a63e63dcf111b11b8e565d97c3b0f1fca91188b1.zip
external_llvm-a63e63dcf111b11b8e565d97c3b0f1fca91188b1.tar.gz
external_llvm-a63e63dcf111b11b8e565d97c3b0f1fca91188b1.tar.bz2
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')
-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 0000000..e21bbb9
--- /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};
+