about summary refs log tree commit diff
path: root/tests/ui/resolve/unit-like-struct-masks-constant-7044.rs
blob: f48dd695f018e0dfc427e8eefb25ccca62e43853 (plain)
1
2
3
4
5
// https://github.com/rust-lang/rust/issues/7044
static X: isize = 0;
struct X; //~ ERROR the name `X` is defined multiple times

fn main() {}