rust/tests/ui/consts/const-unit-struct.rs
2024-02-16 20:02:50 +00:00

13 lines
138 B
Rust

//@ run-pass
//@ pretty-expanded FIXME #23616
struct Foo;
static X: Foo = Foo;
pub fn main() {
match X {
Foo => {}
}
}