rust/tests/ui/attributes/unsafe/cfg-unsafe-attributes.rs

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

7 lines
78 B
Rust
Raw Normal View History

2024-04-28 15:43:07 -05:00
//@ build-pass
#[cfg_attr(all(), unsafe(no_mangle))]
fn a() {}
fn main() {}