annotate run/a/assert_17_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 b020c416b514
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1045
b020c416b514 added tests for DMD-0.160's new features
thomask
parents:
diff changeset
1 // $HeadURL$
b020c416b514 added tests for DMD-0.160's new features
thomask
parents:
diff changeset
2 // $Date$
b020c416b514 added tests for DMD-0.160's new features
thomask
parents:
diff changeset
3 // $Author$
b020c416b514 added tests for DMD-0.160's new features
thomask
parents:
diff changeset
4
b020c416b514 added tests for DMD-0.160's new features
thomask
parents:
diff changeset
5 module dstress.run.a.assert_17_A;
b020c416b514 added tests for DMD-0.160's new features
thomask
parents:
diff changeset
6
b020c416b514 added tests for DMD-0.160's new features
thomask
parents:
diff changeset
7 const uint a = 1;
b020c416b514 added tests for DMD-0.160's new features
thomask
parents:
diff changeset
8
b020c416b514 added tests for DMD-0.160's new features
thomask
parents:
diff changeset
9 int main(char[][] args){
b020c416b514 added tests for DMD-0.160's new features
thomask
parents:
diff changeset
10 static assert(a, "some message"[1 .. 4]);
b020c416b514 added tests for DMD-0.160's new features
thomask
parents:
diff changeset
11
b020c416b514 added tests for DMD-0.160's new features
thomask
parents:
diff changeset
12 return 0;
b020c416b514 added tests for DMD-0.160's new features
thomask
parents:
diff changeset
13 }