Sign in
◑
Theme
rust
/
rust
/
e4375da4e8fcd40ea5a43e72a256db5cbfacf156
/
.
/
tests
/
ui
/
macros
/
global-asm.rs
blob: 26e90edce0b189eb1613e3b6df44ae755e39fa1b [
file
]
use
std
::
arch
::
global_asm
;
fn
main
()
{
global_asm
!();
//~ ERROR requires at least a template string argument
global_asm
!(
struct
);
//~ ERROR expected expression
global_asm
!(
123
);
//~ ERROR asm template must be a string literal
}