Sign in
rust
/
rust
/
08cd08fbef8c6663b052d8d9e4930d5696cbb8a7
/
.
/
tests
/
ui
/
asm
/
tainting-on-error.rs
blob: aa9f33de3753cbb72e67adb7e2ab277523d961b4 [
file
]
//@ needs-asm-support
//@ reference: asm.operand-type.supported-operands.sym
use
std
::
arch
::
asm
;
fn
main
()
{
unsafe
{
asm
!(
"/* {} */"
,
sym
None
::<()>,
//~^ ERROR invalid `sym` operand
);
}
}