xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/2012-02-06-VecInitialization.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm -o - -triple i386-apple-darwin %s | FileCheck %s
2*f4a2713aSLionel Sambuc // PR11930
3*f4a2713aSLionel Sambuc 
4*f4a2713aSLionel Sambuc typedef char vec_t __attribute__ ((__ext_vector_type__ (8)));
h()5*f4a2713aSLionel Sambuc void h() {
6*f4a2713aSLionel Sambuc // CHECK: store <8 x i8>
7*f4a2713aSLionel Sambuc   vec_t v(0);
8*f4a2713aSLionel Sambuc }
9