2017-12-13 23:24:13 +01:00
|
|
|
(module
|
2017-12-27 19:17:29 +01:00
|
|
|
(type $i (func (result i32)))
|
2017-12-13 23:24:13 +01:00
|
|
|
(type $v (func))
|
2018-10-11 08:49:08 +02:00
|
|
|
(memory $0 0)
|
2019-02-05 17:12:10 +01:00
|
|
|
(table $0 1 funcref)
|
2018-10-11 08:49:08 +02:00
|
|
|
(elem (i32.const 0) $null)
|
2017-12-13 23:24:13 +01:00
|
|
|
(global $namespace/Outer.Inner.aVar (mut i32) (i32.const 0))
|
2017-12-27 02:37:53 +01:00
|
|
|
(global $namespace/Outer.Inner.anEnum.ONE i32 (i32.const 1))
|
|
|
|
(global $namespace/Outer.Inner.anEnum.TWO i32 (i32.const 2))
|
2017-12-27 22:38:32 +01:00
|
|
|
(global $namespace/Joined.THREE i32 (i32.const 3))
|
2018-05-14 16:55:55 +02:00
|
|
|
(global $HEAP_BASE i32 (i32.const 8))
|
2017-12-13 23:24:13 +01:00
|
|
|
(export "memory" (memory $0))
|
2018-10-11 08:49:08 +02:00
|
|
|
(export "table" (table $0))
|
2017-12-27 19:17:29 +01:00
|
|
|
(start $start)
|
|
|
|
(func $namespace/Outer.Inner.aFunc (; 0 ;) (type $i) (result i32)
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $namespace/Outer.Inner.aVar
|
2017-12-13 23:24:13 +01:00
|
|
|
)
|
2017-12-27 22:38:32 +01:00
|
|
|
(func $namespace/Joined.anotherFunc (; 1 ;) (type $i) (result i32)
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $namespace/Joined.THREE
|
2017-12-27 22:38:32 +01:00
|
|
|
)
|
|
|
|
(func $start (; 2 ;) (type $v)
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $namespace/Outer.Inner.aVar
|
2018-11-08 08:04:24 +01:00
|
|
|
drop
|
|
|
|
call $namespace/Outer.Inner.aFunc
|
|
|
|
drop
|
2019-02-05 17:12:10 +01:00
|
|
|
global.get $namespace/Outer.Inner.anEnum.ONE
|
2018-11-08 08:04:24 +01:00
|
|
|
drop
|
|
|
|
call $namespace/Joined.anotherFunc
|
|
|
|
drop
|
2017-12-13 23:24:13 +01:00
|
|
|
)
|
2018-09-17 01:48:35 +02:00
|
|
|
(func $null (; 3 ;) (type $v)
|
|
|
|
)
|
2017-12-13 23:24:13 +01:00
|
|
|
)
|