blob: 25ddbb2efaa2ee7d951fce61559cfd052726bc2d [file] [log] [blame] [edit]
//@ known-bug: #104685
//@ compile-flags: -Zextra-const-ub-checks
#![feature(extern_types)]
extern {
pub type ExternType;
}
extern "C" {
pub static EXTERN: ExternType;
}
pub static EMPTY: () = unsafe { &EXTERN; };
fn main() {}