Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix
  • Loading branch information
kripken committed Feb 21, 2024
commit 5fad7633a08314a1294468258af0597dab6dc769
6 changes: 3 additions & 3 deletions test/lit/validation/array-init-data.wast
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

;; RUN: not wasm-opt --enable-reference-types --enable-gc %s 2>&1 | filecheck %s

;; CHECK: all used types should be allowed
;; CHECK: Data segment operations require bulk memory

(module
(type $0 (array i8))

(memory $0 16 17 shared)
(memory $0 16 17)

(data $0 (i32.const 0) "")

(func $0 (result (ref $0))
(func $0
(array.init_data $0 $0
(ref.null $0)
(i32.const 0)
Expand Down
4 changes: 2 additions & 2 deletions test/lit/validation/array-new-data.wast
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

;; RUN: not wasm-opt --enable-reference-types --enable-gc %s 2>&1 | filecheck %s

;; CHECK: all used types should be allowed
;; CHECK: Data segment operations require bulk memory

(module
(type $0 (array i8))

(memory $0 16 17 shared)
(memory $0 16 17)

(data $0 (i32.const 0) "")

Expand Down