summaryrefslogtreecommitdiffstats
path: root/src/test/ui/drop/drop-if-let-binding.rs
blob: 9c1ac4e0c7ffb9fb5c401fb622e981825c36285c (plain)
1
2
3
4
5
6
7
// build-pass
// regression test for issue #88307
// compile-flags: -C opt-level=s

fn main() {
    if let Some(_val) = Option::<String>::None {}
}