aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendC++/2008-01-12-VecInit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC++/2008-01-12-VecInit.cpp')
-rw-r--r--test/FrontendC++/2008-01-12-VecInit.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/FrontendC++/2008-01-12-VecInit.cpp b/test/FrontendC++/2008-01-12-VecInit.cpp
new file mode 100644
index 0000000000..e21bbb9468
--- /dev/null
+++ b/test/FrontendC++/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};
+