blob: 8e897d7d3c6d66b2a9c0be661ca2ec2ea64fb6ee [file] [log] [blame]
// revisions: mirunsafeck thirunsafeck
// [thirunsafeck]compile-flags: -Z thir-unsafeck
union U {
a: str,
//~^ ERROR the size for values of type
b: u8,
}
union W {
a: u8,
b: str,
//~^ ERROR the size for values of type
}
fn main() {}