]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/mixing-deps/dylib.rs
Rollup merge of #98525 - JohnTitor:issue-79224, r=compiler-errors
[rust.git] / src / test / run-make-fulldeps / mixing-deps / dylib.rs
1 #![crate_type = "dylib"]
2 extern crate both;
3
4 use std::mem;
5
6 pub fn addr() -> usize { unsafe { mem::transmute(&both::foo) } }