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