blob: d313d8028b6c271d0a753a54012c3e71496b12b4 [file] [log] [blame] [edit]
//@ needs-asm-support
//@ run-rustfix
use std::arch::global_asm;
fn main() {}
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!`