| 1 |
;; RUN: wast --assert default --snapshot tests/snapshots % |
| 2 |
|
| 3 |
(assert_invalid |
| 4 |
(module |
| 5 |
(table funcref (elem (call_indirect))) |
| 6 |
) |
| 7 |
"non-constant operator") |
| 8 |
|
| 9 |
(assert_invalid |
| 10 |
(module |
| 11 |
(table 1 1 funcref (call_indirect)) |
| 12 |
) |
| 13 |
"non-constant operator") |