1 // compile-flags: -C no-prepopulate-passes
9 fn variadic_fn(_: i32, ...);
15 struct Bar(u64, u64, u64);
17 // Ensure that emit arguments of the correct type.
18 pub unsafe fn test_call_variadic() {
19 // CHECK: call void (i32, ...) @variadic_fn(i32 0, i8 {{.*}}, {{%Bar\*|ptr}} {{.*}})
20 variadic_fn(0, Foo(0), Bar(0, 0, 0))