mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
14 lines
208 B
Rust
14 lines
208 B
Rust
//@ check-pass
|
|
#![expect(incomplete_features)]
|
|
#![feature(explicit_tail_calls, decl_macro)]
|
|
|
|
macro call($f:expr $(, $args:expr)* $(,)?) {
|
|
($f)($($args),*)
|
|
}
|
|
|
|
fn main() {
|
|
become call!(f);
|
|
}
|
|
|
|
fn f() {}
|