annotate nocompile/break_06.d @ 1630:d0efa3ae5522 default tip

run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author David Nadlinger <code@klickverbot.at>
date Sat, 23 Apr 2011 22:57:32 +0200
parents 1f6cf5ccfbc9
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
338
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 189
diff changeset
5 // __DSTRESS_ELINE__ 15
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 189
diff changeset
6
189
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
7 module dstress.nocompile.break_06;
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=1;
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
11 outer: switch(i){
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
12 case 1:
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
13 inner: switch(i){
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
14 case 1:
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
15 break blah;
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 default:
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
20 assert(0);
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
21 }
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
22 return 0;
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
23 blah:
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
24 assert(0);
e0bcd344aa2b extended break and switch tests
thomask
parents:
diff changeset
25 }