mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
13 lines
231 B
Rust
13 lines
231 B
Rust
//@ 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));
|
|
}
|