blob: fd5a4f98aa27f38b9dd32243bf6ed84042bb28c7 [file]
// Compiler:
// status: error
// stderr:
// error: asm contains a NUL byte
// ...
// Test that inline asm containing a NUL byte emits an error.
use std::arch::asm;
fn main() {
unsafe {
asm!("\0");
}
}