File: tags.wast

package info (click to toggle)
binaryen 108-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 35,424 kB
  • sloc: cpp: 151,487; javascript: 62,522; ansic: 13,124; python: 5,260; pascal: 441; sh: 75; asm: 27; makefile: 8
file content (16 lines) | stat: -rw-r--r-- 334 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
;; Test tags

(module
  (tag (param i32))
  (tag $e (param i32 f32))
  (tag $empty)

  (tag $e-params0 (param i32 f32))
  (tag $e-params1 (param i32) (param f32))

  (tag $e-export (export "ex0") (param i32))
  (tag $e-import (import "env" "im0") (param i32))

  (import "env" "im1" (tag (param i32 f32)))
  (export "ex1" (tag $e))
)