rust/tests/ui/issues/issue-29265.rs
2024-02-16 20:02:50 +00:00

10 lines
197 B
Rust

//@ 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];
}