summaryrefslogtreecommitdiffstats
path: root/tests/ui/extern/issue-95829.rs
blob: 3379148ae7bb0aaf4437a233dc6a52bbb7a35b55 (plain)
1
2
3
4
5
6
7
8
9
10
// edition:2018

extern {
    async fn L() { //~ ERROR: incorrect function inside `extern` block
        //~^ ERROR: functions in `extern` blocks cannot have qualifiers
        async fn M() {}
    }
}

fn main() {}