rust/tests/ui/issues/issue-29265.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
195 B
Rust
Raw Normal View History

2019-08-04 11:20:12 +00:00
// 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];
}