| 1 | type Alias = int |
| 2 | |
| 3 | type SumType = int | string |
| 4 | |
| 5 | enum Abc { |
| 6 | a |
| 7 | b |
| 8 | c |
| 9 | } |
| 10 | |
| 11 | struct Other { |
| 12 | a ?int |
| 13 | } |
| 14 | |
| 15 | struct Test { |
| 16 | a ?int |
| 17 | b ?string |
| 18 | c ?[]int |
| 19 | d ?&int |
| 20 | e ?Alias |
| 21 | f ?SumType |
| 22 | g ?Other |
| 23 | h ?&&int |
| 24 | i ?Abc |
| 25 | j ?fn (int) |
| 26 | k []?int |
| 27 | l []?string |
| 28 | m []?Other |
| 29 | n ?Other = Other{} |
| 30 | } |
| 31 | |
| 32 | fn main() { |
| 33 | t := Test{} |
| 34 | println(t) |
| 35 | } |
| 36 |