summaryrefslogtreecommitdiff
path: root/test/signext.wast
blob: 3370e9b1641a45159dfa4890fe14a3bc0d5c6867 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(module
 (type $0 (func))
 (func $signext  (type $0)
  (local $0 i32)
  (local $1 i64)
  (drop (i32.extend8_s (get_local $0)))
  (drop (i32.extend16_s (get_local $0)))
  (drop (i64.extend8_s (get_local $1)))
  (drop (i64.extend16_s (get_local $1)))
  (drop (i64.extend32_s (get_local $1)))
 )
)