annotate run/s/static_33_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 5b0ba71b22a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
756
9a121126b077 major "Torture" review
thomask
parents: 723
diff changeset
1 // $HeadURL$
9a121126b077 major "Torture" review
thomask
parents: 723
diff changeset
2 // $Date$
9a121126b077 major "Torture" review
thomask
parents: 723
diff changeset
3 // $Author$
9a121126b077 major "Torture" review
thomask
parents: 723
diff changeset
4
9a121126b077 major "Torture" review
thomask
parents: 723
diff changeset
5 module dstress.run.s.static_33_A;
9a121126b077 major "Torture" review
thomask
parents: 723
diff changeset
6
1011
5b0ba71b22a9 fixed "deprecated" typo
thomask
parents: 756
diff changeset
7 static x = 4.0;
756
9a121126b077 major "Torture" review
thomask
parents: 723
diff changeset
8
9a121126b077 major "Torture" review
thomask
parents: 723
diff changeset
9 int main(){
1011
5b0ba71b22a9 fixed "deprecated" typo
thomask
parents: 756
diff changeset
10 if(typeid(typeof(x)).toString() != "double"){
5b0ba71b22a9 fixed "deprecated" typo
thomask
parents: 756
diff changeset
11 assert(0);
5b0ba71b22a9 fixed "deprecated" typo
thomask
parents: 756
diff changeset
12 }
756
9a121126b077 major "Torture" review
thomask
parents: 723
diff changeset
13
9a121126b077 major "Torture" review
thomask
parents: 723
diff changeset
14 return 0;
9a121126b077 major "Torture" review
thomask
parents: 723
diff changeset
15 }