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

#[cfg(FALSE)]
fn container() {
    const extern "Rust" PUT_ANYTHING_YOU_WANT_HERE bug() -> usize { 1 }
    //~^ ERROR expected `fn`
}