4 use std::arch::{asm, global_asm};
8 asm!("", options(nomem, nomem));
9 //~^ ERROR the `nomem` option was already provided
10 asm!("", options(att_syntax, att_syntax));
11 //~^ ERROR the `att_syntax` option was already provided
12 asm!("", options(nostack, att_syntax), options(nostack));
13 //~^ ERROR the `nostack` option was already provided
14 asm!("", options(nostack, nostack), options(nostack), options(nostack));
15 //~^ ERROR the `nostack` option was already provided
16 //~| ERROR the `nostack` option was already provided
17 //~| ERROR the `nostack` option was already provided
20 options(nomem, noreturn),
21 options(att_syntax, noreturn), //~ ERROR the `noreturn` option was already provided
22 options(nomem, nostack), //~ ERROR the `nomem` option was already provided
23 options(noreturn), //~ ERROR the `noreturn` option was already provided
28 global_asm!("", options(att_syntax, att_syntax));
29 //~^ ERROR the `att_syntax` option was already provided