summaryrefslogtreecommitdiffstats
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
commitcae25b58fc34e7ea0e814371b582936890ce9dd5 (patch)
treede62f2532c11f91af4536005ad9129877d751cfe
parent88279b7eb6479c15abfe461ee4a9f254651136ec (diff)
downloadbcm5719-llvm-cae25b58fc34e7ea0e814371b582936890ce9dd5.tar.gz
bcm5719-llvm-cae25b58fc34e7ea0e814371b582936890ce9dd5.zip
Migrate 2008-01-12-VecInit.cpp from llvm/test/FrontendC++.
llvm-svn: 138114
-rw-r--r--clang/test/CodeGenCXX/2008-01-12-VecInit.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/2008-01-12-VecInit.cpp b/clang/test/CodeGenCXX/2008-01-12-VecInit.cpp
new file mode 100644
index 00000000000..92bfd51d1ba
--- /dev/null
+++ b/clang/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};
OpenPOWER on IntegriCloud