summary refs log tree commit diff
path: root/src/test/ui/consts/const-eval/issue-53157.rs
blob: ac0940b33e47a82444599687b289ae0099f19a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// build-pass (FIXME(62277): could be check-pass?)

macro_rules! m {
    () => {{
        fn f(_: impl Sized) {}
        f
    }}
}

fn main() {
    fn f() -> impl Sized {};
    m!()(f());
}