test(local): add Phase 6 VM sample (ref set/get) for acceptance run
This commit is contained in:
9
local_tests/phase6_ref_set_get.nyash
Normal file
9
local_tests/phase6_ref_set_get.nyash
Normal file
@ -0,0 +1,9 @@
|
||||
static box Main {
|
||||
main() {
|
||||
local o
|
||||
o = new Obj()
|
||||
o.x = 1
|
||||
print(o.x)
|
||||
return o.x
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user