File: test.d

package info (click to toggle)
dustmite 0.0.430-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,660 kB
  • sloc: cpp: 202; sh: 25; makefile: 14
file content (41 lines) | stat: -rw-r--r-- 281 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import std.stdio;

void fa()
{
	total++;

	fb;
}
void fb()
{
	total++;
}
void fc()
{
	total++;

}
void fe()
{
		total++;
}
void ff()
{
		total++;
}
void fg()
{
		// output should not have {}
		total++;
}
void main()
{
	fa;
	fc;
	fe;
	ff;
	fg;

	writeln(total==7);
}
int total = 1;