annotate nocompile/const_09.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 1f6cf5ccfbc9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
153
ce33adb482a7 added const tests
thomask
parents:
diff changeset
1 // $HeadURL$
ce33adb482a7 added const tests
thomask
parents:
diff changeset
2 // $Date$
ce33adb482a7 added const tests
thomask
parents:
diff changeset
3 // $URL$
ce33adb482a7 added const tests
thomask
parents:
diff changeset
4
ce33adb482a7 added const tests
thomask
parents:
diff changeset
5 // union allocation at compiletime is impossible
ce33adb482a7 added const tests
thomask
parents:
diff changeset
6
338
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 153
diff changeset
7 // __DSTRESS_ELINE__ 16
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents: 153
diff changeset
8
153
ce33adb482a7 added const tests
thomask
parents:
diff changeset
9 module dstress.nocompile.const_07;
ce33adb482a7 added const tests
thomask
parents:
diff changeset
10
ce33adb482a7 added const tests
thomask
parents:
diff changeset
11 union MyUnion{
ce33adb482a7 added const tests
thomask
parents:
diff changeset
12 int i;
ce33adb482a7 added const tests
thomask
parents:
diff changeset
13 Object o;
ce33adb482a7 added const tests
thomask
parents:
diff changeset
14 }
ce33adb482a7 added const tests
thomask
parents:
diff changeset
15
ce33adb482a7 added const tests
thomask
parents:
diff changeset
16 const MyUnion* u = new MyUnion();
ce33adb482a7 added const tests
thomask
parents:
diff changeset
17