Files
nub-lang/example/program.nub
nub31 b6b88228a4 ...
2025-05-17 20:16:24 +02:00

15 lines
189 B
Plaintext

import c
struct Test {
text: ^string
}
global func main(argc: i64, argv: i64) {
text = "test"
x = new Test {
text = &text
}
printf("%s\n", (&x)^.text^)
}