2023-06-03 19:01:03 +03:00
|
|
|
struct \struct-with-ref =
|
|
|
|
|
& @\int`0
|
2023-03-31 12:10:12 +03:00
|
|
|
|
2023-06-03 19:01:03 +03:00
|
|
|
decl test-memory : -> \unit
|
|
|
|
|
def test-memory = {
|
|
|
|
|
const unique-ref1 <- \int..new: 5
|
|
|
|
|
var unique-ref2 <- \array..of: 1 2 3
|
2023-03-31 12:10:12 +03:00
|
|
|
}
|