tests/cli/missing-features/reference-types/shared-everything-threads-types.wast
raw| 1 | ;; RUN: wast --assert default --snapshot tests/snapshots % -f=-shared-everything-threads |
| 2 | |
| 3 | ;; This relies on the reference-types proposal to check that shared function |
| 4 | ;; parameters are not allowed without the shared-everything-threads proposal. |
| 5 | (assert_invalid |
| 6 | (module |
| 7 | (func (param $f (ref null (shared func))) |
| 8 | drop) |
| 9 | ) |
| 10 | "shared reference types require the shared-everything-threads proposal") |