]> git.lizzy.rs Git - rust.git/blob - tests/ui/duplicate/dupe-symbols-6.rs
Auto merge of #106646 - Amanieu:ilp32-object, r=Mark-Simulacrum
[rust.git] / tests / ui / duplicate / dupe-symbols-6.rs
1 // build-fail
2
3 #![crate_type="rlib"]
4 #![allow(warnings)]
5
6 #[export_name="fail"]
7 static HELLO: u8 = 0;
8
9 #[export_name="fail"]
10 static HELLO_TWICE: u16 = 0;
11 //~^ symbol `fail` is already defined