mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-24 12:11:50 +00:00
Retain wrap state in parenthesized expressions; Void statements fwiw
This commit is contained in:
15
tests/compiler/void.optimized.wat
Normal file
15
tests/compiler/void.optimized.wat
Normal file
@ -0,0 +1,15 @@
|
||||
(module
|
||||
(type $i (func (result i32)))
|
||||
(type $v (func))
|
||||
(memory $0 1)
|
||||
(export "memory" (memory $0))
|
||||
(start $start)
|
||||
(func $void/anInt (; 0 ;) (type $i) (result i32)
|
||||
(i32.const 2)
|
||||
)
|
||||
(func $start (; 1 ;) (type $v)
|
||||
(drop
|
||||
(call $void/anInt)
|
||||
)
|
||||
)
|
||||
)
|
Reference in New Issue
Block a user