stackCopy recursively runs increasing the size of the stack. go:noinline
(s *string, c int, a [size]int)
| 18 | // of the stack. |
| 19 | //go:noinline |
| 20 | func stackCopy(s *string, c int, a [size]int) { |
| 21 | println(c, s, *s) |
| 22 | |
| 23 | c++ |
| 24 | if c == 10 { |
| 25 | return |
| 26 | } |
| 27 | |
| 28 | stackCopy(s, c, a) |
| 29 | } |