diff options
Diffstat (limited to 'test/passes/strip-target-features_roundtrip_print-features_all-features.wast')
-rw-r--r-- | test/passes/strip-target-features_roundtrip_print-features_all-features.wast | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/passes/strip-target-features_roundtrip_print-features_all-features.wast b/test/passes/strip-target-features_roundtrip_print-features_all-features.wast new file mode 100644 index 000000000..214289904 --- /dev/null +++ b/test/passes/strip-target-features_roundtrip_print-features_all-features.wast @@ -0,0 +1,14 @@ +;; Test that features enabled on the IR Module survive a round trip +;; even if the target features section is stripped first + +(module + (func $foo (result v128 anyref ) + (tuple.make + (v128.const i32x4 0 0 0 0) + (ref.null) + ) + ) + (func $bar (result v128 anyref) + (return_call $foo) + ) +) |