mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 20:23:59 +00:00
9 lines
157 B
Rust
9 lines
157 B
Rust
#![crate_type = "rlib"]
|
|
#![deny(warnings)]
|
|
|
|
#[link_section = "foo"]
|
|
pub static A: [u8; 2] = [1, 2];
|
|
|
|
#[link_section = "bar"]
|
|
pub static B: [u8; 2] = [3, 4];
|