summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-19398.rs
blob: 46eb320a172f2f89edb7a97706e6afea4b15fc32 (plain)
1
2
3
4
5
6
trait T {
    extern "Rust" unsafe fn foo();
    //~^ ERROR expected `{`, found keyword `unsafe`
}

fn main() {}