summary refs log tree commit diff
path: root/src/test/ui/abi/rustcall-generic.rs
blob: 2fa41a7e35a74b563f87d28316ae894a8096a718 (plain)
1
2
3
4
5
6
7
8
9
// check-pass
#![feature(unboxed_closures)]

extern "rust-call" fn foo<T>(_: T) {}

fn main() {
    foo(());
    foo((1, 2));
}