Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
abi
/
rustcall-generic.rs
blob: fdd419b4e3c140b35733773145f504f96659e4f4 [
file
] [
log
] [
blame
] [
edit
]
//@ revisions: normal opt
//@ check-pass
//@[opt] compile-flags: -Zmir-opt-level=3
#![
feature
(
unboxed_closures
,
tuple_trait
)]
extern
"rust-call"
fn
foo
<
T
:
std
::
marker
::
Tuple
>(
_
:
T
)
{}
fn
main
()
{
foo
(());
foo
((
1
,
2
));
}