summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-29265.rs
blob: f554c4d16c7d1150250afea0fb652314f8a87ed7 (plain)
1
2
3
4
5
6
7
8
9
10
// aux-build:issue-29265.rs
// check-pass

extern crate issue_29265 as lib;

static _UNUSED: &'static lib::SomeType = &lib::SOME_VALUE;

fn main() {
    vec![0u8; lib::SOME_VALUE.some_member];
}