mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
6 lines
143 B
Rust
6 lines
143 B
Rust
// https://github.com/rust-lang/rust/issues/7044
|
|
static X: isize = 0;
|
|
struct X; //~ ERROR the name `X` is defined multiple times
|
|
|
|
fn main() {}
|