summaryrefslogtreecommitdiff
path: root/test/parse/expr/tableswitch-empty-case.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/expr/tableswitch-empty-case.txt')
-rw-r--r--test/parse/expr/tableswitch-empty-case.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/parse/expr/tableswitch-empty-case.txt b/test/parse/expr/tableswitch-empty-case.txt
new file mode 100644
index 00000000..1e22e67b
--- /dev/null
+++ b/test/parse/expr/tableswitch-empty-case.txt
@@ -0,0 +1,7 @@
+(module
+ (func
+ (tableswitch (i32.const 0)
+ (table (case 0) (case 1)) (case 2)
+ (case)
+ (case)
+ (case (nop)))))