summaryrefslogtreecommitdiff
path: root/test/dot_s/function-data-sections.wast
blob: 59b13c81c901d120af85b33c564acb51db55cb41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(module
  (memory $0 1)
  (data (i32.const 12) "\00\00\00\00")
  (data (i32.const 16) "\01\00\00\00")
  (data (i32.const 20) "33\13@")
  (export "memory" (memory $0))
  (export "foo" (func $foo))
  (export "bar" (func $bar))
  (export "qux" (func $qux))
  (table 0 anyfunc)
  
  (func $foo
    (return)
  )
  (func $bar (param $0 i32) (result i32)
    (return
      (get_local $0)
    )
  )
  (func $qux (param $0 f64) (param $1 f64) (result f64)
    (return
      (f64.add
        (get_local $0)
        (get_local $1)
      )
    )
  )
)
;; METADATA: { "asmConsts": {},"staticBump": 24, "initializers": [] }