summaryrefslogtreecommitdiff
path: root/test/push_pop.wast.from-wast
blob: 63f21ee9c8cc01e5dc8d768aabee8329a6712c2a (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
30
31
32
33
34
(module
 (type $FUNCSIG$i (func (result i32)))
 (type $FUNCSIG$j (func (result i64)))
 (type $FUNCSIG$f (func (result f32)))
 (type $FUNCSIG$d (func (result f64)))
 (export "ppi32" (func $0))
 (export "ppi64" (func $1))
 (export "ppf32" (func $2))
 (export "ppf64" (func $3))
 (func $0 (; 0 ;) (type $FUNCSIG$i) (result i32)
  (push
   (i32.const 1)
  )
  (i32.pop)
 )
 (func $1 (; 1 ;) (type $FUNCSIG$j) (result i64)
  (push
   (i64.const 1)
  )
  (i64.pop)
 )
 (func $2 (; 2 ;) (type $FUNCSIG$f) (result f32)
  (push
   (f32.const 1)
  )
  (f32.pop)
 )
 (func $3 (; 3 ;) (type $FUNCSIG$d) (result f64)
  (push
   (f64.const 1)
  )
  (f64.pop)
 )
)