summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/const-eval/issue-53157.rs
blob: 850338625bc0136387fc88a282a8d3d9f69a37e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// check-pass

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

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