]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/std-core-cycle/foo.rs
Update code to account for extern ABI requirement
[rust.git] / src / test / run-make-fulldeps / std-core-cycle / foo.rs
1 #![crate_type = "cdylib"]
2
3 extern crate bar;
4
5 #[global_allocator]
6 static A: bar::A = bar::A;
7
8 #[no_mangle]
9 pub extern "C" fn a(a: u32, b: u32) -> u32 {
10     a / b
11 }