annotate tests/mini/goto1.d @ 341:1bb99290e03a trunk

[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author lindquist
date Sun, 13 Jul 2008 02:51:19 +0200
parents test/goto1.d@77cdca8c210f
children
rev   line source
lindquist@37 1 module goto1;
lindquist@37 2
lindquist@37 3 void main()
lindquist@37 4 {
lindquist@37 5 int i;
lindquist@37 6 goto lbl;
lindquist@37 7 i++;
lindquist@37 8 lbl:
lindquist@37 9 assert(i == 0);
lindquist@37 10 }
lindquist@37 11