rust/src/test/ui/issues/issue-54387.rs
2019-07-03 06:30:28 +09:00

13 lines
184 B
Rust

// build-pass (FIXME(62277): could be check-pass?)
pub struct GstRc {
_obj: *const (),
_borrowed: bool,
}
const FOO: Option<GstRc> = None;
fn main() {
let _meh = FOO;
}