annotate nocompile/switch_16.d @ 756:9a121126b077

major "Torture" review
author thomask
date Sat, 03 Dec 2005 22:19:07 +0000
parents f87ba6507260
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
189
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
1 // $HeadURL$
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
2 // $Date$
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
3 // $Author$
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
4
756
9a121126b077 major "Torture" review
thomask
parents: 374
diff changeset
5 // __DSTRESS_ELINE__ 16
374
f87ba6507260 added missing meta-data
thomask
parents: 189
diff changeset
6
189
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
7 module dstress.nocompile.switch_16;
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
8
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
9 int main(){
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
10 int i;
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
11 switch(i){
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
12 case 3:
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
13 return 0;
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
14 default:
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
15 assert(0);
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
16 default:
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
17 assert(0);
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
18 }
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
19 return 0;
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
20 }