summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/issue-54387.rs
blob: 60e3a02f4ce6cad64d1b08a825c17c968981cbb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// check-pass

pub struct GstRc {
    _obj: *const (),
    _borrowed: bool,
}

const FOO: Option<GstRc> = None;

fn main() {
    let _meh = FOO;
}