| 1 |
;; RUN: wast --assert default --snapshot tests/snapshots % |
| 2 |
|
| 3 |
;; --enable-gc |
| 4 |
|
| 5 |
(module |
| 6 |
(func (param funcref (ref func) (ref null func))) |
| 7 |
(func (param externref (ref extern) (ref null extern))) |
| 8 |
(func (param anyref (ref any) (ref null any))) |
| 9 |
(func (param eqref (ref eq) (ref null eq))) |
| 10 |
(func (param i31ref (ref i31) (ref null i31))) |
| 11 |
(func (param structref (ref struct) (ref null struct))) |
| 12 |
(func (param arrayref (ref array) (ref null array))) |
| 13 |
(func (param nullfuncref (ref nofunc) (ref null nofunc))) |
| 14 |
(func (param nullexternref (ref noextern) (ref null noextern))) |
| 15 |
(func (param nullref (ref none) (ref null none))) |
| 16 |
) |