Debian Codegraph @

tests/cli/component-model/lower.wast

raw
1 ;; RUN: wast --assert default --snapshot tests/snapshots %
2
3 (assert_invalid
4 (component
5 (import "f" (func $f (param "x" (list u8))))
6 (core func $f (canon lower (func $f)
7 ))
8 )
9 "canonical option `memory` is required")
10
11 (assert_invalid
12 (component
13 (import "f" (func $f (result (list u8))))
14 (core func $f (canon lower (func $f)
15 ))
16 )
17 "canonical option `memory` is required")