1 // RUN: %clang_cc1 -Werror -triple i386-unknown-unknown -emit-llvm -o %t %s
2 // RUN: FileCheck < %t %s
4 // FIXME: Note that we don't currently get the ABI right here. f0() should be
9 } transp_t0
__attribute__((transparent_union
));
11 void f0(transp_t0 obj
);
13 // CHECK: define void @f1_0(i32* %a0)
14 // CHECK: call void @f0(%union.transp_t0* byval %{{.*}})
15 // CHECK: call void %{{.*}}(i8* %{{[a-z0-9]*}})
18 void (*f0p
)(void *) = f0
;
24 f0((transp_t0
) { a0
});