mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-26 21:21:54 +00:00
Implement reference counting (#592)
This commit is contained in:
5
tests/compiler/rt/ids.ts
Normal file
5
tests/compiler/rt/ids.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import { ArrayBufferView } from "arraybuffer";
|
||||
|
||||
assert(idof<ArrayBuffer>() == 0);
|
||||
assert(idof<String>() == 1);
|
||||
assert(idof<ArrayBufferView>() == 2);
|
Reference in New Issue
Block a user