]> git.lizzy.rs Git - rust.git/blob - tests/ui/extern/extern-ffi-fn-with-body.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / extern / extern-ffi-fn-with-body.rs
1 extern "C" {
2     fn foo() -> i32 { //~ ERROR incorrect function inside `extern` block
3         return 0;
4     }
5 }
6
7 extern "C" fn bar() -> i32 {
8     return 0;
9 }
10
11 fn main() {}