2 // aux-build:foreign_lib.rs
3 // ignore-wasm32-bare no libc to test ffi with
5 // The purpose of this test is to check that we can
6 // successfully (and safely) invoke external, cdecl
7 // functions from outside the crate.
9 // pretty-expanded FIXME #23616
11 extern crate foreign_lib;
15 let _foo = foreign_lib::rustrt::rust_get_test_int();