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