summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/unit.asm.js5
-rw-r--r--test/unit.wast6
2 files changed, 11 insertions, 0 deletions
diff --git a/test/unit.asm.js b/test/unit.asm.js
index 49e912ae1..790678f41 100644
--- a/test/unit.asm.js
+++ b/test/unit.asm.js
@@ -74,6 +74,11 @@ function () {
}
}
}
+ function blocker() {
+ L: {
+ break L;
+ }
+ }
function frem() {
return +(5.5 % 1.2);
}
diff --git a/test/unit.wast b/test/unit.wast
index 88f2de77b..d3ed6c7cd 100644
--- a/test/unit.wast
+++ b/test/unit.wast
@@ -248,6 +248,12 @@
)
)
)
+ (func $blocker
+ (block $label$break$L
+ (br $label$break$L
+ )
+ )
+ )
(func $frem (result f64)
(call_import $f64-rem
(f64.const 5.5)