annotate run/goto_09.d @ 1576:b3e16c86558e

[Issue 1398] New: GDC doesn't generate correct code <mariusmuja@gmail.com> 2007-08-04 http://d.puremagic.com/issues/show_bug.cgi?id=1398
author thomask
date Thu, 21 Feb 2008 15:20:08 +0000
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 }