]> git.lizzy.rs Git - rust.git/blob - src/test/ui/duplicate/dupe-symbols-6.rs
Merge commit 'c19edfd71a1d0ddef86c2c67fdb40718d40a72b4' into sync_cg_clif-2022-07-25
[rust.git] / src / test / 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