]> git.lizzy.rs Git - rust.git/blob - src/test/run-make/wasm-custom-section/bar.rs
Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup
[rust.git] / src / test / run-make / wasm-custom-section / bar.rs
1 #![crate_type = "cdylib"]
2 #![deny(warnings)]
3
4 extern crate foo;
5
6 #[link_section = "foo"]
7 pub static A: [u8; 2] = [5, 6];
8
9 #[link_section = "baz"]
10 pub static B: [u8; 2] = [7, 8];
11
12 #[no_mangle]
13 pub extern fn foo() {}