rust/tests/ui/extern/not-in-block.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
198 B
Rust
Raw Normal View History

#![crate_type = "lib"]
2024-10-31 10:39:45 +00:00
#![allow(missing_abi)]
extern fn none_fn(x: bool) -> i32;
//~^ ERROR free function without a body
extern "C" fn c_fn(x: bool) -> i32;
//~^ ERROR free function without a body