annotate nocompile/c/case_01.d @ 1599:d37b19f7e8bb

Move run/c/case_01 to nocompile.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 17:28:31 +0200
parents run/c/case_01.d@b8c0195059d9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
612
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
1 // $HeadURL$
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
2 // $Date$
618
569a4150a3dd fixed meta data
thomask
parents: 612
diff changeset
3 // $Author$
612
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
4
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
5 // @author@ Paul Guerra <Paul_member@pathlink.com>
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
6 // @date@ 2005-07-29
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 1090
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4634
697
fbee62becd2c partial repos review
thomask
parents: 618
diff changeset
8
1599
d37b19f7e8bb Move run/c/case_01 to nocompile.
Christian Kamm <kamm incasoftware de>
parents: 1489
diff changeset
9 // this clearly seems illegal even though the specification does not
d37b19f7e8bb Move run/c/case_01 to nocompile.
Christian Kamm <kamm incasoftware de>
parents: 1489
diff changeset
10 // seem to explicitly forbid it
697
fbee62becd2c partial repos review
thomask
parents: 618
diff changeset
11
612
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
12 module dstress.run.c.case_01;
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
13
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
14 int main(){
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
15 int u=2;
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
16
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
17 switch(u){
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
18 case 1:
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
19 void j(){
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
20 case 2:
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
21 u++;
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
22 }
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
23 break;
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
24 }
1090
f4e98d870b57 pre DMD-0.163 review
thomask
parents: 697
diff changeset
25
612
b5fc547b3fd1 Paul Guerra <Paul_member@pathlink.com>
thomask
parents:
diff changeset
26 return 0;
1090
f4e98d870b57 pre DMD-0.163 review
thomask
parents: 697
diff changeset
27 }