diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-02-06 08:31:19 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-02-06 08:31:19 +0000 |
commit | 33aa76c88a205b46ed69fc4a7bdfe600ab2dc576 (patch) | |
tree | 2b254ce59e0352587d7cbfe66dfab08c333e9996 /clang | |
parent | 239fdf0f6113e497e2bf5165697fc14760d03fd2 (diff) | |
download | bcm5719-llvm-33aa76c88a205b46ed69fc4a7bdfe600ab2dc576.tar.gz bcm5719-llvm-33aa76c88a205b46ed69fc4a7bdfe600ab2dc576.zip |
Test for r149855.
llvm-svn: 149862
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/CodeGenCXX/2012-02-06-VecInitialization.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/2012-02-06-VecInitialization.cpp b/clang/test/CodeGenCXX/2012-02-06-VecInitialization.cpp new file mode 100644 index 00000000000..720420ea7de --- /dev/null +++ b/clang/test/CodeGenCXX/2012-02-06-VecInitialization.cpp @@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -emit-llvm -o - -triple i386-apple-darwin %s | FileCheck %s +// PR11930 + +typedef char vec_t __attribute__ ((__ext_vector_type__ (8))); +void h() { +// CHECK: store <8 x i8> + vec_t v(0); +} |