1 // RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin10 | FileCheck %s 2 3 // Make sure this doesn't crash, and that we don't generate a byval alloca 4 // with insufficient alignment. 5 6 void a(int,int,int,int,int,int,__complex__ char); 7 void b(__complex__ char *y) { a(0,0,0,0,0,0,*y); } 8 // CHECK: define void @b 9 // CHECK: alloca { i8, i8 }*, align 8 10 // CHECK: call void @a(i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, { i8, i8 }* byval align 8 11