]> git.lizzy.rs Git - rust.git/blob - src/test/ui/E0660.rs
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / E0660.rs
1 #![feature(asm)]
2
3 fn main() {
4     let a;
5     asm!("nop" "nop");
6     //~^ ERROR E0660
7     asm!("nop" "nop" : "=r"(a));
8     //~^ ERROR E0660
9 }