summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/2012-02-06-VecInitialization.cpp
blob: 720420ea7deabc7f3c7b3dd41aa9b5200dc052d7 (plain)
1
2
3
4
5
6
7
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);
}
OpenPOWER on IntegriCloud