mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-16 08:21:44 +00:00
test a few things
This commit is contained in:
@ -17,5 +17,3 @@ var b_ref: B = changetype<B>(32); // global root, non-nullable
|
||||
var i: i32 = 0;
|
||||
__rt_iterateroots((ref: usize): void => { assert(<u32>ref == ++i << 3); });
|
||||
assert(i == 4);
|
||||
|
||||
assert(__rt_classid<A>() != __rt_classid<B>());
|
||||
|
Reference in New Issue
Block a user