mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-25 23:12:19 +00:00
23 lines
461 B
Plaintext
23 lines
461 B
Plaintext
(module
|
|
(type $i (func (result i32)))
|
|
(type $v (func))
|
|
(global $HEAP_BASE i32 (i32.const 8))
|
|
(table 1 1 anyfunc)
|
|
(elem (i32.const 0) $null)
|
|
(memory $0 0)
|
|
(export "memory" (memory $0))
|
|
(export "test" (func $class-with-boolean-field/test))
|
|
(func $class-with-boolean-field/test (; 0 ;) (type $i) (result i32)
|
|
(local $0 i32)
|
|
(i32.store8
|
|
(get_local $0)
|
|
(i32.const 1)
|
|
)
|
|
(i32.load8_u
|
|
(get_local $0)
|
|
)
|
|
)
|
|
(func $null (; 1 ;) (type $v)
|
|
)
|
|
)
|