| 1 | type TestInt = ?int |
| 2 | type TestString = ?string |
| 3 | type TestF64 = ?f64 |
| 4 | |
| 5 | struct Struct { |
| 6 | } |
| 7 | |
| 8 | type TestStruct = ?Struct |
| 9 | |
| 10 | fn main() { |
| 11 | f := TestInt(1) |
| 12 | dump(f) |
| 13 | println(f) |
| 14 | |
| 15 | g := TestString('foo') |
| 16 | dump(g) |
| 17 | println(g) |
| 18 | |
| 19 | h := TestString(none) |
| 20 | dump(h) |
| 21 | |
| 22 | i := TestF64(none) |
| 23 | dump(i) |
| 24 | |
| 25 | l := TestStruct(none) |
| 26 | dump(l) |
| 27 | |
| 28 | k := TestStruct(Struct{}) |
| 29 | dump(k) |
| 30 | } |
| 31 |