Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
ddb81ce68047d6383a789c8da514e443faea8349
/
.
/
tests
/
ui
/
macros
/
global-asm.rs
blob: 26e90edce0b189eb1613e3b6df44ae755e39fa1b [
file
] [
log
] [
blame
]
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
}