Sign in
rust
/
rust
/
97b1c314892ef4497c0ce5656daa3a54c4e052d3
/
.
/
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
);
}
}