]> git.lizzy.rs Git - rust.git/blob - src/test/ui/abi/rustcall-generic.rs
Rollup merge of #95353 - jyn514:invalid-filter-hard-error, r=Mark-Simulacrum
[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 }