summaryrefslogtreecommitdiff
path: root/test/gtest/cfg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/gtest/cfg.cpp')
-rw-r--r--test/gtest/cfg.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/test/gtest/cfg.cpp b/test/gtest/cfg.cpp
index 1b2d5b776..e72341b32 100644
--- a/test/gtest/cfg.cpp
+++ b/test/gtest/cfg.cpp
@@ -35,9 +35,7 @@ TEST_F(CFGTest, Print) {
(i32.const 3)
)
(else
- (return
- (i32.const 4)
- )
+ (return)
)
)
)
@@ -71,13 +69,12 @@ TEST_F(CFGTest, Print) {
;; preds: [0], succs: [7]
5:
- 8: i32.const 4
- 9: return
+ 8: return
;; preds: [4], succs: [7]
6:
- 10: drop
- 11: block
+ 9: drop
+ 10: block
;; preds: [5, 6], succs: []
;; exit