annotate run/f/forward_reference_15_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 b8c0195059d9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
646
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
1 // $HeadURL$
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
2 // $Date$
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
3 // $Author$
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
4
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
5 // @author@ Deewiant <deewiant.doesnotlike.spam@gmail.com>
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
6 // @date@ 2005-07-14
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 1091
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4532
646
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
8
660
2474750465ff updated result pages
thomask
parents: 646
diff changeset
9 module dstress.run.f.forward_reference_15_A;
646
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
10
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
11 class Foo(TYPE){
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
12 static int function(TYPE a) myLilFunction;
1091
9dcac8d4e97f post DMD-0.163 review
thomask
parents: 660
diff changeset
13
646
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
14 void func(int function(TYPE a) theParameter = myLilFunction){
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
15 }
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
16 }
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
17
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
18 int main(){
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
19 Foo!(int) foo = new Foo!(int);
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
20 foo.func();
91287c8afc01 Deewiant <deewiant.doesnotlike.spam@gmail.com>
thomask
parents:
diff changeset
21 return 0;
1091
9dcac8d4e97f post DMD-0.163 review
thomask
parents: 660
diff changeset
22 }