annotate undefined/typedef_10_F.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 eb7e3f644b18
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
811
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
1 // $HeadURL$
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
2 // $Date$
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
3 // $Author$
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
4
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
5 // @author@ Stewart Gordon <smjg_1998@yahoo.com>
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
6 // @date@ 2005-12-12
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
7 // @uri@ news:dnjnqe$16sv$1@digitaldaemon.com
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
8
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
9 module dstress.undefined.typedef_10_F;
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
10
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
11 typedef int Int;
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
12
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
13 int main() {
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
14 Int i;
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
15 long l;
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
16
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
17 static assert (is(typeof(i + l) == long));
944
eb7e3f644b18 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents: 811
diff changeset
18
eb7e3f644b18 Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents: 811
diff changeset
19 return 0;
811
47da30a67c8d Stewart Gordon <smjg_1998@yahoo.com>
thomask
parents:
diff changeset
20 }