summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-64620.rs
blob: a62e5bf8d3c622fe19d3f31b05b994aa9bcbd6d6 (plain)
1
2
3
4
5
enum Bug {
    V1 = return [0][0] //~ERROR return statement outside of function body
}

fn main() {}