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

5 lines
94 B
Rust

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