blob: 3ff8af3cb977603189b2954c1986f3c67b2d9bdb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// When all branches of an alt expression result in fail, the entire
// alt expression results in fail.
fn main() {
let x =
alt true {
true { 10 }
false { alt true { true { fail } false { fail } } }
};
}
|