2018-08-30 14:18:55 +02:00
|
|
|
// run-pass
|
2012-09-04 16:40:11 -07:00
|
|
|
// aux-build:anon-extern-mod-cross-crate-1.rs
|
2015-03-22 13:13:15 -07:00
|
|
|
// pretty-expanded FIXME #23616
|
2017-10-22 20:01:00 -07:00
|
|
|
// ignore-wasm32-bare no libc to test ffi with
|
2015-03-22 13:13:15 -07:00
|
|
|
|
2014-02-14 10:10:06 -08:00
|
|
|
extern crate anonexternmod;
|
2012-09-04 16:40:11 -07:00
|
|
|
|
2013-10-02 20:00:54 -07:00
|
|
|
use anonexternmod::rust_get_test_int;
|
2012-09-04 16:40:11 -07:00
|
|
|
|
2013-02-01 19:43:17 -08:00
|
|
|
pub fn main() {
|
2013-05-24 19:35:29 -07:00
|
|
|
unsafe {
|
2013-07-30 20:58:55 -07:00
|
|
|
rust_get_test_int();
|
2013-05-24 19:35:29 -07:00
|
|
|
}
|
2012-09-04 16:40:11 -07:00
|
|
|
}
|