blob: b19eab9f52b5294e248d25740569fe22ce1ca8fe [file] [log] [blame]
// run-pass
// revisions: mirunsafeck thirunsafeck
// [thirunsafeck]compile-flags: -Z thir-unsafeck
#![allow(path_statements)]
#![allow(dead_code)]
macro_rules! union {
() => (struct S;)
}
union!();
fn union() {}
fn main() {
union();
let union = 10;
union;
union as u8;
union U {
a: u8,
}
}