annotate nocompile/s/struct_24.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 e3c9f22bff58
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
844
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
1 // $HeadURL$
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
2 // $Date$
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
3 // $Author$
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
4
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
5 // Porting: C++
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
6
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
7 // __DSTRESS_ELINE__ 20
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
8
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
9 module dstress.nocompile.s.struct_24;
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
10
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
11 struct S{
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
12 int i;
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
13 }
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
14
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
15 void main(){
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
16 S* s = new S();
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
17
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
18 int x;
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
19
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
20 x = s->i;
e3c9f22bff58 C# and C++ porting
thomask
parents:
diff changeset
21 }