annotate nocompile/bug_cgcs_353.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 774e02c900da
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
140
a33ad7189d21 1) news:// -> news:
thomask
parents: 111
diff changeset
1 // $HeadURL$
a33ad7189d21 1) news:// -> news:
thomask
parents: 111
diff changeset
2 // $Date$
a33ad7189d21 1) news:// -> news:
thomask
parents: 111
diff changeset
3 // $Author$
a33ad7189d21 1) news:// -> news:
thomask
parents: 111
diff changeset
4
111
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
5 // @author@ Regan Heath <regan@netwin.co.nz>
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
6 // @date@ 2004-06-10
140
a33ad7189d21 1) news:// -> news:
thomask
parents: 111
diff changeset
7 // @uri@ news:opr9c6ny1b5a2sq9@digitalmars.com
1485
774e02c900da 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=438
111
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
9
338
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 140
diff changeset
10 // __DSTRESS_ELINE__ 21
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 140
diff changeset
11
111
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
12 module dstress.nocompile.bug_cgcs_353;
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
13
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
14 struct Bug {
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
15 ubyte[64] buffer;
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
16
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
17 void fn(ubyte[] input){
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
18 uint i;
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
19
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
20 i = 64-buffer.length;
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
21 buffer[] ~= input[0..i];
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
22 }
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
23 }
24da167d3f07 svn maintenance
thomask
parents: 85
diff changeset
24