summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/2008-01-12-VecInit.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-08-19 22:16:30 +0000
committerEric Christopher <echristo@apple.com>2011-08-19 22:16:30 +0000
commit44f609cb821ca41505d748ec26006ff88a07d14b (patch)
tree9112708eb44c54b6e81e2db92e313e7896f24639 /test/CodeGenCXX/2008-01-12-VecInit.cpp
parent3d8838033abf3e101fc6043da4b0907bec54a4ad (diff)
Migrate 2008-01-12-VecInit.cpp from llvm/test/FrontendC++.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138114 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/2008-01-12-VecInit.cpp')
-rw-r--r--test/CodeGenCXX/2008-01-12-VecInit.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGenCXX/2008-01-12-VecInit.cpp b/test/CodeGenCXX/2008-01-12-VecInit.cpp
new file mode 100644
index 0000000000..92bfd51d1b
--- /dev/null
+++ b/test/CodeGenCXX/2008-01-12-VecInit.cpp
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -emit-llvm %s -o -
+// rdar://5685492
+
+typedef int __attribute__((vector_size(16))) v;
+v vt = {1, 2, 3, 4};