2019-12-13 21:28:32 -06:00
|
|
|
// build-fail
|
|
|
|
|
2015-02-27 09:13:30 -06:00
|
|
|
//
|
|
|
|
#![crate_type="rlib"]
|
|
|
|
#![allow(warnings)]
|
|
|
|
|
|
|
|
#[export_name="fail"]
|
|
|
|
pub fn a() {
|
|
|
|
}
|
|
|
|
|
|
|
|
#[export_name="fail"]
|
|
|
|
pub fn b() {
|
2015-03-03 17:09:10 -06:00
|
|
|
//~^ symbol `fail` is already defined
|
2015-02-27 09:13:30 -06:00
|
|
|
}
|