comparison 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
comparison
equal deleted inserted replaced
1598:23834ba9736a 1599:d37b19f7e8bb
1 // $HeadURL$
2 // $Date$
3 // $Author$
4
5 // @author@ Paul Guerra <Paul_member@pathlink.com>
6 // @date@ 2005-07-29
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4634
8
9 // this clearly seems illegal even though the specification does not
10 // seem to explicitly forbid it
11
12 module dstress.run.c.case_01;
13
14 int main(){
15 int u=2;
16
17 switch(u){
18 case 1:
19 void j(){
20 case 2:
21 u++;
22 }
23 break;
24 }
25
26 return 0;
27 }