]> git.lizzy.rs Git - rust.git/blob - tests/ui/extern/not-in-block.rs
Rollup merge of #104672 - Voultapher:unify-sort-modules, r=thomcc
[rust.git] / tests / ui / extern / not-in-block.rs
1 #![crate_type = "lib"]
2
3 extern fn none_fn(x: bool) -> i32;
4 //~^ ERROR free function without a body
5 extern "C" fn c_fn(x: bool) -> i32;
6 //~^ ERROR free function without a body