rust/tests/ui/consts/const-eval/issue-53157.rs

14 lines
154 B
Rust
Raw Normal View History

// check-pass
macro_rules! m {
() => {{
fn f(_: impl Sized) {}
f
}}
}
fn main() {
fn f() -> impl Sized {};
m!()(f());
2018-08-07 12:51:38 -05:00
}