summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/issue-37550-1.rs
blob: 4d00ac7fd0d59d23c256bbfd98a3ba9881f38bb9 (plain)
1
2
3
4
5
6
7
8
// check-pass

const fn x() {
    let t = true;
    let x = || t;
}

fn main() {}