Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
inline_asm_ident_first.rs
blob: a425b8e5ad4179830271b1de4f37330771c48b52 [
file
] [
log
] [
blame
]
#![
feature
(
rustc_attrs
)]
#[
rustc_builtin_macro
]
macro_rules
!
asm
{
()
=>
{}
}
fn
main
()
{
unsafe
{
asm
!(
i_am_a_dummy
);
// { dg-error "asm template must be a string literal" }
}
}