rust/tests/ui/duplicate/dupe-symbols-6.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
192 B
Rust
Raw Normal View History

// build-fail
#![crate_type="rlib"]
#![allow(warnings)]
#[export_name="fail"]
static HELLO: u8 = 0;
#[export_name="fail"]
static HELLO_TWICE: u16 = 0;
2015-03-03 23:09:10 +00:00
//~^ symbol `fail` is already defined