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