1
0
forked from Mirror/wren
Files
wren/test/api/handle.wren
2016-05-20 20:55:28 -07:00

12 lines
229 B
Plaintext

class Handle {
foreign static value=(value)
foreign static value
}
Handle.value = ["list", "of", "strings"]
// Make sure the handle lives through a GC.
System.gc()
System.print(Handle.value) // expect: [list, of, strings]