rust/tests/ui/drop/drop-if-let-binding.rs
2023-01-11 09:32:08 +00:00

8 lines
148 B
Rust

// build-pass
// regression test for issue #88307
// compile-flags: -C opt-level=s
fn main() {
if let Some(_val) = Option::<String>::None {}
}