From c81ee1f4cff576350851557d2f0ceade2bd63c77 Mon Sep 17 00:00:00 2001 From: lyon Date: Thu, 18 May 2023 23:17:08 +0800 Subject: [PATCH] add parsertest assert --- test/parse-test.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/parse-test.cpp b/test/parse-test.cpp index 36fdb9f20..21de02c5c 100644 --- a/test/parse-test.cpp +++ b/test/parse-test.cpp @@ -5648,7 +5648,12 @@ TEST_LINES2ASM(split_slice, TEST_LINES2ASM(val_hint, "a:int", "B0\nB0\n") -TEST_LINES2ASM_NOCHECK(fn_fn, "test()()") +TEST_LINES2ASM(fn_fn, + "test()()", + "B0\n" + "1 RUN test\n" + "0 RUN \n" + "B0\n") TEST_LINES2ASM_NOCHECK(slice_slice, "test[1][2][3]")