rust/tests/ui/feature-gates/feature-gate-unsafe-attributes.rs

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

9 lines
90 B
Rust
Raw Normal View History

2024-04-21 04:54:50 +00:00
#[unsafe(no_mangle)] //~ ERROR [E0658]
extern "C" fn foo() {
}
fn main() {
foo();
}