summaryrefslogtreecommitdiffstats
path: root/src/test/ui/suggestions/suggest-semicolon-for-fn-in-extern-block.rs
blob: 91971cba3e863ad1c5c7a03eaa9830a469af5696 (plain)
1
2
3
4
5
6
7
8
9
// run-rustfix

#[allow(dead_code)]

extern "C" {
  fn foo() //~ERROR expected `;`
}

fn main() {}