Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
14e59bb317c3c901bce83deb16ee9bfa5cc90e28
rust/tests/ui/consts/inline_asm.rs

9 lines
122 B
Rust
Raw Normal View History

Restrict tests that use needs-asm-support to non-experimental architectures
2021-11-03 16:10:09 +00:00
// needs-asm-support
Stabilize asm! and global_asm! They are also removed from the prelude as per the decision in https://github.com/rust-lang/rust/issues/87228. stdarch and compiler-builtins are updated to work with the new, stable asm! and global_asm! macros.
2021-12-10 00:15:33 +00:00
use std::arch::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() {}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1575ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API