Skip to content

Commit 1107626

Browse files
CosineProssberg
authored andcommitted
[test] Use still-illegal opcode (func-refs) (WebAssembly#1501)
1 parent 11d1a53 commit 1107626

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/core/binary.wast

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@
12411241
) ;; end
12421242
"data count section required")
12431243

1244-
;; passive element segment containing opcode other than ref.func or ref.null
1244+
;; passive element segment containing illegal opcode
12451245
(assert_malformed
12461246
(module binary
12471247
"\00asm" "\01\00\00\00"
@@ -1258,7 +1258,7 @@
12581258
"\09\07\01" ;; Element section with one segment
12591259
"\05\70" ;; Passive, funcref
12601260
"\01" ;; 1 element
1261-
"\d5\00\0b" ;; bad opcode, index 0, end
1261+
"\f3\00\0b" ;; bad opcode, index 0, end
12621262

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

0 commit comments

Comments
 (0)