]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-16149.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / issues / issue-16149.rs
1 extern "C" {
2 static externalValue: isize;
3 }
4
5 fn main() {
6 let boolValue = match 42 {
7 externalValue => true,
8 //~^ ERROR match bindings cannot shadow statics
9 _ => false,
10 };
11 }