summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/const-extern-fn/issue-68062-const-extern-fns-dont-need-fn-specifier-2.rs
blob: 7ced24808bf6ed4618a93a6c5a72fac2e90c27b3 (plain)
1
2
3
4
5
6
7
fn main() {}

#[cfg(FALSE)]
fn container() {
    const unsafe WhereIsFerris Now() {}
    //~^ ERROR expected one of `extern` or `fn`
}