annotate run/private_03.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 6e4063f99377
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
137
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
1 // $HeadURL$
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
2 // $Date$
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
3 // $Author$
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
4
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
5 // @author@ Stewart Gordon <smjg_1998@yahoo.com>
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
6 // @date@ 2004-11-15
140
a33ad7189d21 1) news:// -> news:
thomask
parents: 137
diff changeset
7 // @uri@ news:cn9vah$1shn$1@digitaldaemon.com
1487
6e4063f99377 changed nntp: URLs to http: URLs
thomask
parents: 1383
diff changeset
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2270
137
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
9
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
10 module dstress.compile.private_03;
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
11
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
12 class Outer{
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
13 class Inner{
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
14 private this(){
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
15 }
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
16
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
17 private int i=3;
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
18 }
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
19 }
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
20
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
21 int main(){
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
22 Outer outer = new Outer;
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
23 Outer.Inner inner = new outer.Inner();
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
24 assert(inner.i==3);
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
25 return 0;
3160d72a93a7 1) anonymous nested structs/unions
thomask
parents:
diff changeset
26 }