| 1 |
;; RUN: dump % |
| 2 |
|
| 3 |
(module |
| 4 |
(import "m" "n" (func (param i32))) |
| 5 |
(table 1 funcref) |
| 6 |
(memory (export "m") 1) |
| 7 |
(start 0) |
| 8 |
(global i32 (i32.const 0)) |
| 9 |
(elem (i32.const 3) 0) |
| 10 |
(elem funcref (ref.null func)) |
| 11 |
(elem declare funcref (ref.null func)) |
| 12 |
;;(elem (i32.const 3) (ref.null func)) |
| 13 |
;;(elem funcref (ref.null func)) |
| 14 |
;;(elem declare funcref (ref.null func) (ref.func 0)) |
| 15 |
(func) |
| 16 |
(func (local i32)) |
| 17 |
(func (local i32) i32.const 0) |
| 18 |
(data (i32.const 8) "y") |
| 19 |
(data "x") |
| 20 |
(data) |
| 21 |
(@custom "name-of-section" "content") |
| 22 |
) |