We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d98f55 commit 1689d99Copy full SHA for 1689d99
src/test/run-pass/else-if.rs
@@ -16,4 +16,27 @@ fn main() {
16
check(true);
17
}
18
19
-}
+ if (1 == 2) {
20
+ check(false);
21
+ } else if (2 == 2) {
22
+ if (1 == 1) {
23
+ check(true);
24
+ } else {
25
+ if (2 == 1) {
26
27
28
29
+ }
30
31
32
+
33
34
35
36
37
38
39
40
41
42
+}
0 commit comments