We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55e8bc1 commit 27e0fd2Copy full SHA for 27e0fd2
1 file changed
tests/tests.rs
@@ -341,15 +341,16 @@ fn indirect_call_with_reference_types() -> anyhow::Result<()> {
341
let wat = r#"
342
(module
343
(type $sig (func (result i32)))
344
- (table 1 funcref)
345
- (elem (i32.const 0) $f)
+ (table 0 funcref)
+ (table $table1 1 funcref)
346
+ (elem (table $table1) (i32.const 0) func $f)
347
(func $f (type $sig)
348
i32.const 42
349
)
350
(func (export "wizer.initialize"))
351
(func (export "run") (result i32)
352
i32.const 0
- call_indirect (type $sig)
353
+ call_indirect $table1 (type $sig)
354
355
)"#;
356
0 commit comments