| 1 | struct Structure1 { |
| 2 | world [2]Structure2 |
| 3 | } |
| 4 | |
| 5 | struct Structure2 { |
| 6 | liste []Structure3 |
| 7 | } |
| 8 | |
| 9 | struct Structure3 { |
| 10 | coo []int |
| 11 | } |
| 12 | |
| 13 | fn test_main() { |
| 14 | app := Structure1{ |
| 15 | world: [2]Structure2{init: Structure2{ |
| 16 | liste: []Structure3{len: 1, init: Structure3{}} |
| 17 | }} |
| 18 | } |
| 19 | assert app.world.len == 2 |
| 20 | } |
| 21 |