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
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
rust/tests/ui/consts/inline_asm.rs

9 lines
123 B
Rust
Raw Normal View History

[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ needs-asm-support
Restrict tests that use needs-asm-support to non-experimental architectures
2021-11-03 16:10:09 +00:00
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: 1494ms Template: 2ms
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