]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/extern-fn-with-union/testcrate.rs
Rollup merge of #101072 - tmandry:llvm-is-vanilla, r=Mark-Simulacrum
[rust.git] / src / test / run-make-fulldeps / extern-fn-with-union / testcrate.rs
1 #![crate_type = "lib"]
2
3 #[repr(C)]
4 pub struct TestUnion {
5     _val: u64,
6 }
7
8 #[link(name = "ctest", kind = "static")]
9 extern "C" {
10     pub fn give_back(tu: TestUnion) -> u64;
11 }