annotate run/t/typedef_23_A.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 4bf2a846ddf2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1462
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
1 // $HeadURL$
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
2 // $Date$
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
3 // $Author$
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
4
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
5 // @author@ davidl <david@126.com>
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
6 // @date@ 2007-01-14
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=850
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
8 // @desc@ [Issue 850] we need (*type).property to refer to property if we use typedef
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
9
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
10 module dstress.run.t.typedef_23_A;
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
11
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
12 class C{
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
13 int myMember;
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
14 }
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
15
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
16 void foo(C* x){
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
17 x.myMember = 0xDEAD_DEED;
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
18 }
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
19
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
20 int main(){
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
21 C c = new C();
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
22 foo(&c);
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
23
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
24 if(0xDEAD_DEED != c.myMember){
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
25 assert(0);
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
26 }
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
27
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
28 return 0;
4bf2a846ddf2 [Issue 850] we need (*type).property to refer to property if we use typedef
thomask
parents:
diff changeset
29 }