1 // Test that when in MIR the amount of local_decls and amount of normalized_input_tys don't match
2 // that an out-of-bounds access does not occur.
3 #![feature(c_variadic)]
7 fn foo(_: Bar, ...) -> impl {}
8 //~^ ERROR only foreign or `unsafe extern "C"` functions may be C-variadic
9 //~| ERROR cannot find type `Bar` in this scope
10 //~| ERROR at least one trait must be specified