summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/heap-types.wast4
-rw-r--r--test/heap-types.wast.from-wast4
-rw-r--r--test/heap-types.wast.fromBinary4
-rw-r--r--test/heap-types.wast.fromBinary.noDebugInfo4
4 files changed, 16 insertions, 0 deletions
diff --git a/test/heap-types.wast b/test/heap-types.wast
index 57751503f..8e7655361 100644
--- a/test/heap-types.wast
+++ b/test/heap-types.wast
@@ -72,6 +72,10 @@
(i32.const 1)
)
)
+ (struct.set $struct.A 0
+ (local.get $x)
+ (i32.const 100)
+ )
(unreachable)
)
)
diff --git a/test/heap-types.wast.from-wast b/test/heap-types.wast.from-wast
index c575d2dc6..ced28e941 100644
--- a/test/heap-types.wast.from-wast
+++ b/test/heap-types.wast.from-wast
@@ -72,6 +72,10 @@
(i32.const 1)
)
)
+ (struct.set ${i32_f32_f64} 0
+ (local.get $x)
+ (i32.const 100)
+ )
(unreachable)
)
)
diff --git a/test/heap-types.wast.fromBinary b/test/heap-types.wast.fromBinary
index b6f6eb880..2d8e7ff38 100644
--- a/test/heap-types.wast.fromBinary
+++ b/test/heap-types.wast.fromBinary
@@ -72,6 +72,10 @@
(i32.const 1)
)
)
+ (struct.set ${i32_f32_f64} 0
+ (local.get $x)
+ (i32.const 100)
+ )
(unreachable)
)
)
diff --git a/test/heap-types.wast.fromBinary.noDebugInfo b/test/heap-types.wast.fromBinary.noDebugInfo
index 9e545d737..753402c05 100644
--- a/test/heap-types.wast.fromBinary.noDebugInfo
+++ b/test/heap-types.wast.fromBinary.noDebugInfo
@@ -72,6 +72,10 @@
(i32.const 1)
)
)
+ (struct.set ${i32_f32_f64} 0
+ (local.get $0)
+ (i32.const 100)
+ )
(unreachable)
)
)