This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
eb32c00216
rust
/
src
/
test
/
ui
/
consts
/
inline_asm.rs
7 lines
97 B
Rust
Raw
Normal View
History
Unescape
Escape
Fix ui tests for llvm_asm! deprecation
2021-07-29 19:45:13 +02:00
#![
feature(asm)
]
Check for `llvm_asm` in a const context
2020-04-19 16:03:35 -07:00
Fix ui tests for llvm_asm! deprecation
2021-07-29 19:45:13 +02:00
const
_
:
(
)
=
unsafe
{
asm!
(
"
nop
"
)
}
;
Remove E0019, use E0015 for inline assembly in a const
2020-09-30 09:58:01 -07:00
//~^ ERROR inline assembly
Check for `llvm_asm` in a const context
2020-04-19 16:03:35 -07:00
fn
main
(
)
{
}
Copy permalink