rust/tests/ui/asm/unsupported-option.fixed

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
313 B
Rust
Raw Normal View History

//@ needs-asm-support
//@ run-rustfix
use std::arch::global_asm;
fn main() {}
2024-07-27 12:08:00 -05:00
global_asm!("", options( raw));
//~^ ERROR the `nomem` option cannot be used with `global_asm!`
//~| ERROR the `readonly` option cannot be used with `global_asm!`
//~| ERROR the `noreturn` option cannot be used with `global_asm!`