diff options
Diffstat (limited to 'clang/test/CodeGenCXX/2012-02-06-VecInitialization.cpp')
-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 0000000..720420e --- /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); +} |