summaryrefslogtreecommitdiff
path: root/test/heap-types.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/heap-types.wast')
-rw-r--r--test/heap-types.wast8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/heap-types.wast b/test/heap-types.wast
index 7558e1676..87d751691 100644
--- a/test/heap-types.wast
+++ b/test/heap-types.wast
@@ -226,4 +226,12 @@
)
)
)
+ (func $unreachables
+ (drop
+ (struct.get $struct.A 0 (unreachable))
+ )
+ (drop
+ (struct.set $struct.A 0 (unreachable) (unreachable))
+ )
+ )
)