diff options
Diffstat (limited to 'test/lit/passes/merge-blocks.wast')
-rw-r--r-- | test/lit/passes/merge-blocks.wast | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/test/lit/passes/merge-blocks.wast b/test/lit/passes/merge-blocks.wast index b6fa8f585..66b0e8b71 100644 --- a/test/lit/passes/merge-blocks.wast +++ b/test/lit/passes/merge-blocks.wast @@ -192,13 +192,13 @@ ;; CHECK-NEXT: ) ;; CHECK-NEXT: (if (result i32) ;; CHECK-NEXT: (i32.const 1) - ;; CHECK-NEXT: (block (result i32) + ;; CHECK-NEXT: (then ;; CHECK-NEXT: (drop ;; CHECK-NEXT: (i32.const 2) ;; CHECK-NEXT: ) ;; CHECK-NEXT: (i32.const 3) ;; CHECK-NEXT: ) - ;; CHECK-NEXT: (block (result i32) + ;; CHECK-NEXT: (else ;; CHECK-NEXT: (drop ;; CHECK-NEXT: (i32.const 4) ;; CHECK-NEXT: ) @@ -213,13 +213,17 @@ (drop (i32.const 0)) (i32.const 1) ) - (block (result i32) - (drop (i32.const 2)) - (i32.const 3) + (then + (block (result i32) + (drop (i32.const 2)) + (i32.const 3) + ) ) - (block (result i32) - (drop (i32.const 4)) - (i32.const 5) + (else + (block (result i32) + (drop (i32.const 4)) + (i32.const 5) + ) ) ) ) |