From 110762616c46e2dcf217c565ee993e7bb82c8bd5 Mon Sep 17 00:00:00 2001 From: cosine Date: Mon, 11 Jul 2022 13:39:20 -0400 Subject: [PATCH] [test] Use still-illegal opcode (func-refs) (#1501) --- test/core/binary.wast | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/core/binary.wast b/test/core/binary.wast index 29c6273b34..84f4b15383 100644 --- a/test/core/binary.wast +++ b/test/core/binary.wast @@ -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" @@ -1258,7 +1258,7 @@ "\09\07\01" ;; Element section with one segment "\05\70" ;; Passive, funcref "\01" ;; 1 element - "\d5\00\0b" ;; bad opcode, index 0, end + "\f3\00\0b" ;; bad opcode, index 0, end "\0a\04\01" ;; Code section