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

#[allow(dead_code)]

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

fn main() {}