summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-38458.rs
blob: 665a8fdf8e26e271819f99ebf5d4a112ad0dd780 (plain)
1
2
3
4
5
const x: () = {
    return; //~ ERROR return statement outside of function body
};

fn main() {}