]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/const-unit-struct.rs
Rollup merge of #106927 - Ezrashaw:e0606-make-machine-applicable, r=estebank
[rust.git] / tests / ui / consts / const-unit-struct.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 struct Foo;
5
6 static X: Foo = Foo;
7
8 pub fn main() {
9     match X {
10         Foo => {}
11     }
12 }