tests/strat-indepth/src.result/test.d
raw| 1 | void fa() |
| 2 | { |
| 3 | total++; |
| 4 | |
| 5 | fb; |
| 6 | } |
| 7 | void fb() |
| 8 | { |
| 9 | total++; |
| 10 | } |
| 11 | void fc() |
| 12 | { |
| 13 | total++; |
| 14 | |
| 15 | } |
| 16 | void fe() |
| 17 | { |
| 18 | total++; |
| 19 | } |
| 20 | void ff() |
| 21 | { |
| 22 | total++; |
| 23 | } |
| 24 | void fg() |
| 25 | { |
| 26 | // output should not have {} |
| 27 | total++; |
| 28 | } |
| 29 | import std.stdio; |
| 30 | |
| 31 | void main() |
| 32 | { |
| 33 | fa; |
| 34 | fc; |
| 35 | fe; |
| 36 | ff; |
| 37 | fg; |
| 38 | |
| 39 | writeln(total==7); |
| 40 | } |
| 41 | int total = 1; |