]> git.lizzy.rs Git - rust.git/blob - tests/run-make/issue-47384/lib.rs
Rollup merge of #106407 - mejrs:attr_check, r=compiler-errors
[rust.git] / tests / run-make / issue-47384 / lib.rs
1 mod foo {
2     #[link_section = ".rodata.STATIC"]
3     #[used]
4     static STATIC: [u32; 10] = [1; 10];
5 }
6
7 mod bar {
8     #[no_mangle]
9     extern "C" fn bar() -> i32 {
10         0
11     }
12 }