Files
wren/test/api/value.wren
T

15 lines
303 B
Plaintext
Raw Normal View History

2015-12-15 16:02:13 -08:00
class Value {
foreign static value=(value)
foreign static value
}
2015-12-15 16:02:13 -08:00
Value.value = ["list", "of", "strings"]
// Do some stuff to trigger a GC (at least when GC stress testing enabled).
var s = "string"
for (i in 1...10) {
s = s + " more"
}
2015-12-15 16:02:13 -08:00
System.print(Value.value) // expect: [list, of, strings]