diff options
Diffstat (limited to 'test/lit/binary')
-rw-r--r-- | test/lit/binary/strings-nogc.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/lit/binary/strings-nogc.test b/test/lit/binary/strings-nogc.test new file mode 100644 index 000000000..7aa21d750 --- /dev/null +++ b/test/lit/binary/strings-nogc.test @@ -0,0 +1,12 @@ +;; Verify that we support strings in the binary format even without GC. + +;; RUN: wasm-opt --enable-reference-types --enable-strings --roundtrip %s + +(module + (func $0 + (local $0 stringref) + (local.set $0 + (ref.null none) + ) + ) +) |