summaryrefslogtreecommitdiffstats
path: root/tests/run-make/wasm-custom-section/foo.rs
blob: 61f81f024b5a7cc9ceba48c40c2bf1ff2d17f94b (plain)
1
2
3
4
5
6
7
8
#![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];