rust/tests/run-make/used-cdylib-macos/dylib_used.rs
2023-03-30 07:34:55 -05:00

5 lines
78 B
Rust

#![crate_type = "cdylib"]
#[used]
static VERY_IMPORTANT_SYMBOL: u32 = 12345;