mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
11 lines
195 B
Rust
11 lines
195 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];
|
|
}
|