]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/cross-lang-lto-pgo-smoketest/main.rs
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, r=cuviper
[rust.git] / tests / run-make-fulldeps / cross-lang-lto-pgo-smoketest / main.rs
1 #[link(name = "xyz")]
2 extern "C" {
3     fn c_always_inlined() -> u32;
4     fn c_never_inlined() -> u32;
5 }
6
7 fn main() {
8     unsafe {
9         println!("blub: {}", c_always_inlined() + c_never_inlined());
10     }
11 }