]> git.lizzy.rs Git - rust.git/blob - tests/ui/duplicate/dupe-symbols-5.rs
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / duplicate / dupe-symbols-5.rs
1 // build-fail
2
3 //
4 #![crate_type="rlib"]
5 #![allow(warnings)]
6
7 #[export_name="fail"]
8 static HELLO: u8 = 0;
9
10 #[export_name="fail"]
11 pub fn b() {
12 //~^ symbol `fail` is already defined
13 }