]> git.lizzy.rs Git - rust.git/blob - src/test/ui/abi/rustcall-generic.rs
Rollup merge of #78083 - ChaiTRex:master, r=m-ou-se
[rust.git] / src / test / ui / abi / rustcall-generic.rs
1 // check-pass
2 #![feature(unboxed_closures)]
3
4 extern "rust-call" fn foo<T>(_: T) {}
5
6 fn main() {
7     foo(());
8     foo((1, 2));
9 }