summaryrefslogtreecommitdiff
path: root/test/extra-unreachable.wast.fromBinary
diff options
context:
space:
mode:
Diffstat (limited to 'test/extra-unreachable.wast.fromBinary')
-rw-r--r--test/extra-unreachable.wast.fromBinary19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/extra-unreachable.wast.fromBinary b/test/extra-unreachable.wast.fromBinary
new file mode 100644
index 000000000..11c23e009
--- /dev/null
+++ b/test/extra-unreachable.wast.fromBinary
@@ -0,0 +1,19 @@
+(module
+ (type $0 (func))
+ (type $1 (func (param i32) (result i32)))
+ (memory $0 (shared 1 1))
+ (table $0 0 funcref)
+ (global $global$0 (mut f32) (f32.const 0))
+ (func $foo (; 0 ;) (type $1) (param $0 i32) (result i32)
+ (i32.const 0)
+ )
+ (func $test_function_block (; 1 ;) (type $0)
+ (unreachable)
+ )
+ (func $test (; 2 ;) (type $0)
+ (block $label$1
+ (unreachable)
+ )
+ )
+)
+