2024-12-17 01:12:36 +09:00
|
|
|
//@ add-core-stubs
|
2022-02-10 18:04:09 +00:00
|
|
|
//@ compile-flags: --target armv7-unknown-linux-gnueabihf
|
|
|
|
//@ needs-llvm-components: arm
|
|
|
|
|
2024-12-17 01:12:36 +09:00
|
|
|
#![feature(no_core)]
|
2022-02-10 18:04:09 +00:00
|
|
|
#![no_core]
|
|
|
|
|
2024-12-17 01:12:36 +09:00
|
|
|
extern crate minicore;
|
|
|
|
use minicore::*;
|
2022-02-10 18:04:09 +00:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
unsafe {
|
|
|
|
asm!("", out("d0") _, out("d1") _);
|
|
|
|
asm!("", out("d0") _, out("s1") _);
|
|
|
|
//~^ ERROR register `s1` conflicts with register `d0`
|
|
|
|
}
|
|
|
|
}
|