]> git.lizzy.rs Git - rust.git/blob - src/test/ui/abi/rustcall-generic.rs
Merge commit '533f0fc81ab9ba097779fcd27c8f9ea12261fef5' into psimd
[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 }