Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

ices/97490.rs: fixed with no errors #1275

Merged
merged 1 commit into from
May 31, 2022
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#97490

pub type Yes = extern "sysv64" fn(&'static u8) -> !;

fn main() {
    unsafe {
        let yes = &6 as *const _ as *const Yes;
        core::arch::asm!("call {}", in(reg) yes, options(noreturn));
    }
}
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
@JohnTitor JohnTitor merged commit 3f3579e into master May 31, 2022
@JohnTitor JohnTitor deleted the autofix/ices/97490.rs branch May 31, 2022 12:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants