feat: improved parsing and regression test suite
This commit is contained in:
parent
4ebdd3c66e
commit
619eb3b338
39 changed files with 1116 additions and 339 deletions
9
testing/regression/syntax/empty-choice-branch.ink
Normal file
9
testing/regression/syntax/empty-choice-branch.ink
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// RUN: %ink-compiler --stdin --compile-only --dump-ast < %s | FileCheck %s
|
||||
|
||||
// CHECK: File "<STDIN>"
|
||||
// CHECK-NEXT: `--BlockStmt <line:9, line:9>
|
||||
// CHECK-NEXT: `--ChoiceStmt <line:9, line:9>
|
||||
// CHECK-NEXT: `--ChoiceStarStmt <line:9, col:1:2>
|
||||
// CHECK-NEXT: `--ChoiceContentExpr <col:2, col:2>
|
||||
|
||||
*
|
||||
Loading…
Add table
Add a link
Reference in a new issue