mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-16 02:31:13 +00:00
14 lines
210 B
Rust
14 lines
210 B
Rust
//@ known-bug: #117877
|
|
//@ edition:2021
|
|
//@ needs-rustc-debug-assertions
|
|
//@ only-x86_64
|
|
#![feature(asm_const)]
|
|
|
|
use std::arch::asm;
|
|
|
|
async unsafe fn foo<'a>() {
|
|
asm!("/* {0} */", const N);
|
|
}
|
|
|
|
fn main() {}
|