blob: 45f1f092e52681c9fcfcee52a3e93e7c6b5b8931 [file] [log] [blame] [edit]
//@ needs-asm-support
#![feature(repr_simd)]
use std::arch::asm;
#[repr(simd)]
//~^ ERROR attribute should be applied to a struct
//~| ERROR unsupported representation for zero-variant enum
enum Es {}
fn main() {
unsafe {
let mut x: Es;
asm!("{}", out(reg) x);
}
}