]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-15562.rs
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-15562.rs
1 // run-pass
2 // aux-build:issue-15562.rs
3
4 // pretty-expanded FIXME #23616
5
6 extern crate issue_15562 as i;
7
8 pub fn main() {
9 unsafe {
10 transmute();
11 i::transmute();
12 }
13 }
14
15 // We declare this so we don't run into unresolved symbol errors
16 // The above extern is NOT `extern "rust-intrinsic"` and thus
17 // means it'll try to find a corresponding symbol to link to.
18 #[no_mangle]
19 pub extern "C" fn transmute() {}