Index: test/cctest/test-ast-expression-visitor.cc |
diff --git a/test/cctest/test-ast-expression-visitor.cc b/test/cctest/test-ast-expression-visitor.cc |
index c7ef3605fe38e10bde4ffdcb6f659745c4939909..f4c1028ab2b16c932820a4a609c6b06c53373cf9 100644 |
--- a/test/cctest/test-ast-expression-visitor.cc |
+++ b/test/cctest/test-ast-expression-visitor.cc |
@@ -303,6 +303,7 @@ TEST(VisitSwitchStatment) { |
CHECK_VAR(.switch_tag, DEFAULT_TYPE); |
CHECK_EXPR(Literal, DEFAULT_TYPE); |
} |
+ CHECK_EXPR(Literal, DEFAULT_TYPE); |
CHECK_VAR(.switch_tag, DEFAULT_TYPE); |
CHECK_EXPR(Literal, DEFAULT_TYPE); |
} |