annotate run/goto_09.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents c18d6e8a712e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
186
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
1 // $HeadURL$
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
2 // $Date$
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
3 // $Author$
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
4
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
5 module dstress.run.goto_09;
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
6
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
7 int main(){
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
8 if(0){
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
9 label:
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
10 return 0;
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
11 }else{
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
12 goto label;
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
13 }
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
14 assert(0);
c18d6e8a712e extended goto tests
thomask
parents:
diff changeset
15 }