]> git.proxmox.com Git - rustc.git/blob - src/test/run-make/rlib-format-packed-bundled-libs/rust_dep_up.rs
Update unsuspicious file list
[rustc.git] / src / test / run-make / rlib-format-packed-bundled-libs / rust_dep_up.rs
1 #[link(name = "native_dep_2", kind = "static")]
2 #[link(name = "native_dep_3", kind = "static")]
3 extern "C" {
4 fn native_f2() -> i32;
5 fn native_f3() -> i32;
6 }
7
8 pub fn rust_dep_up() {
9 unsafe {
10 assert!(native_f2() == 2);
11 assert!(native_f3() == 3);
12 }
13 }