]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/mixing-deps/prog.rs
Rollup merge of #106321 - compiler-errors:delayed-bug-backtrace, r=Nilstrieb
[rust.git] / tests / run-make-fulldeps / mixing-deps / prog.rs
1 extern crate dylib;
2 extern crate both;
3
4 use std::mem;
5
6 fn main() {
7     assert_eq!(unsafe { mem::transmute::<&isize, usize>(&both::foo) },
8                dylib::addr());
9 }