Skip to content

Commit

Permalink
[test] Use still-illegal opcode (func-refs) (#1501)
Browse files Browse the repository at this point in the history
  • Loading branch information
CosineP authored Jul 11, 2022
1 parent e0a6a31 commit d48af68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/core/binary.wast
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@
) ;; end
"data count section required")

;; passive element segment containing opcode other than ref.func or ref.null
;; passive element segment containing illegal opcode
(assert_malformed
(module binary
"\00asm" "\01\00\00\00"
Expand All @@ -1258,7 +1258,7 @@
"\09\07\01" ;; Element section with one segment
"\05\70" ;; Passive, funcref
"\01" ;; 1 element
"\d3\00\0b" ;; bad opcode, index 0, end
"\f3\00\0b" ;; bad opcode, index 0, end

"\0a\04\01" ;; Code section

Expand Down

0 comments on commit d48af68

Please sign in to comment.