mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-05 22:48:42 +00:00
8 lines
162 B
Text
8 lines
162 B
Text
struct StructWithRef =
|
|
& @Int_
|
|
|
|
decl test_memory : Unit -> Unit
|
|
def test_memory = {
|
|
const @unique_ref1 <- Int.@_new 5
|
|
var @unique_ref2 <- Array.@of 1 2 3
|
|
}
|