2022-07-02 16:40:33 -05:00
|
|
|
// revisions: normal opt
|
2020-11-11 17:15:39 -06:00
|
|
|
// check-pass
|
2022-07-02 16:40:33 -05:00
|
|
|
//[opt] compile-flags: -Zmir-opt-level=3
|
|
|
|
|
2022-07-30 00:37:48 -05:00
|
|
|
#![feature(unboxed_closures, tuple_trait)]
|
2020-11-11 17:15:39 -06:00
|
|
|
|
2022-07-30 00:37:48 -05:00
|
|
|
extern "rust-call" fn foo<T: std::marker::Tuple>(_: T) {}
|
2020-11-11 17:15:39 -06:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
foo(());
|
|
|
|
foo((1, 2));
|
|
|
|
}
|