rust/tests/ui/issues/issue-7044.rs
2023-01-11 09:32:08 +00:00

5 lines
94 B
Rust

static X: isize = 0;
struct X; //~ ERROR the name `X` is defined multiple times
fn main() {}