From 4cf96bb9dfebf58b127849eecd141337a2da195d Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 6 Feb 2012 08:31:19 +0000 Subject: [PATCH] Test for r149855. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149862 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/2012-02-06-VecInitialization.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/CodeGenCXX/2012-02-06-VecInitialization.cpp diff --git a/test/CodeGenCXX/2012-02-06-VecInitialization.cpp b/test/CodeGenCXX/2012-02-06-VecInitialization.cpp new file mode 100644 index 0000000000..720420ea7d --- /dev/null +++ b/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); +} -- 2.50.1