assemblyscript/tests/compiler/namespace.wast

75 lines
1.0 KiB
Plaintext
Raw Normal View History

2017-12-13 23:24:13 +01:00
(module
(type $v (func))
(global $namespace/Outer.Inner.aVar (mut i32) (i32.const 0))
2017-12-16 17:54:53 +01:00
(global $HEAP_BASE i32 (i32.const 4))
2017-12-13 23:24:13 +01:00
(memory $0 1)
(export "test" (func $namespace/test))
(export "memory" (memory $0))
(func $namespace/Outer.Inner.aFunc (; 0 ;) (type $v)
)
(func $namespace/test (; 1 ;) (type $v)
(drop
(get_global $namespace/Outer.Inner.aVar)
)
(call $namespace/Outer.Inner.aFunc)
(drop
(get_global $namespace/Outer.Inner.anEnum.ONE)
)
)
)
(;
[program.elements]
2017-12-16 02:27:39 +01:00
NaN
Infinity
2017-12-15 17:23:04 +01:00
isNaN
isFinite
2017-12-13 23:24:13 +01:00
clz
ctz
popcnt
rotl
rotr
abs
max
min
2017-12-15 17:23:04 +01:00
ceil
floor
copysign
2017-12-13 23:24:13 +01:00
nearest
2017-12-15 17:23:04 +01:00
reinterpret
2017-12-13 23:24:13 +01:00
sqrt
trunc
load
store
sizeof
2017-12-15 17:23:04 +01:00
select
unreachable
current_memory
grow_memory
2017-12-13 23:24:13 +01:00
parseInt
parseFloat
2017-12-15 17:23:04 +01:00
changetype
assert
2017-12-15 15:00:19 +01:00
i8
i16
i32
i64
u8
u16
u32
u64
bool
f32
f64
isize
usize
2017-12-16 17:54:53 +01:00
HEAP_BASE
2017-12-13 23:24:13 +01:00
namespace/Outer
namespace/Outer.Inner
namespace/Outer.Inner.aVar
namespace/Outer.Inner.aFunc
namespace/Outer.Inner.anEnum
namespace/test
[program.exports]
namespace/test
;)