2016-03-29 11:12:12 -05:00
|
|
|
#![crate_type="rlib"]
|
|
|
|
|
|
|
|
extern crate stable_symbol_names1;
|
|
|
|
|
|
|
|
pub fn user() {
|
2017-01-09 08:52:08 -06:00
|
|
|
stable_symbol_names1::generic_function(1u32);
|
|
|
|
stable_symbol_names1::generic_function("def");
|
2016-03-29 11:12:12 -05:00
|
|
|
let x = 2u64;
|
2017-01-09 08:52:08 -06:00
|
|
|
stable_symbol_names1::generic_function(&x);
|
|
|
|
stable_symbol_names1::mono_function();
|
|
|
|
stable_symbol_names1::mono_function_lifetime(&0);
|
2016-03-29 11:12:12 -05:00
|
|
|
}
|
2016-09-29 02:24:14 -05:00
|
|
|
|
|
|
|
pub fn trait_impl_test_function() {
|
|
|
|
use stable_symbol_names1::*;
|
2017-01-09 08:52:08 -06:00
|
|
|
Bar::generic_method::<Bar>();
|
2016-09-29 02:24:14 -05:00
|
|
|
}
|