summaryrefslogtreecommitdiff
path: root/test/dot_s/function-data-sections.wast
blob: 43947a3cc461bc21c8ccd3c95fd098ea0641e351 (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
(module
  (memory 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)
  (export "foo" $foo)
  (export "bar" $bar)
  (export "qux" $qux)
  (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": [] }