]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-asm2.rs
Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01
[rust.git] / src / test / ui / feature-gates / feature-gate-asm2.rs
1 // only-x86_64
2
3 fn main() {
4     unsafe {
5         println!("{:?}", asm!(""));
6         //~^ ERROR inline assembly is not stable enough
7         println!("{:?}", llvm_asm!(""));
8         //~^ ERROR prefer using the new asm! syntax instead
9     }
10 }