Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 213 Bytes
// build-pass (FIXME(62277): could be check-pass?)
#![feature(extern_types)]
extern {
type Opaque;
}
const FOO: *const u8 = &42 as *const _ as *const Opaque as *const u8;
fn main() {
let _foo = FOO;
}
You can’t perform that action at this time.