Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
macros
/
global-asm.rs
blob: 26e90edce0b189eb1613e3b6df44ae755e39fa1b [
file
] [
log
] [
blame
] [
edit
]
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
}