mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +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];
|