Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
abi
/
rustcall-generic.rs
blob: 6eaccc436b699b036b4e2c4021c1d7b9d400a5ed [
file
] [
log
] [
blame
]
// 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
));
}