]> git.lizzy.rs Git - rust.git/blob - src/test/ui/abi/rustcall-generic.rs
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
[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 }