rust/src/test/ui/consts/const-eval/issue-53157.rs

14 lines
191 B
Rust
Raw Normal View History

// build-pass (FIXME(62277): could be 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
}