annotate run/t/typeof_16_B.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 7231246f20c2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1373
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
1 // $HeadURL$
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
2 // $Date$
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
3 // $Author$
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
4
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
5 // @author@ Dan <ddaglas@gmail.com>
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
6 // @date@ 2006-12-28
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=764
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
8 // @desc@ [Issue 764] (typeof(o)).classinfo causes parser error
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
9
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
10 module dstress.run.t.typeof_16_B;
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
11
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
12 int main() {
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
13 Object o = new Object();
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
14 char[] name = typeof(o).classinfo.name;
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
15
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
16 if("object.Object" != name){
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
17 assert(0);
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
18 }
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
19 return 0;
7231246f20c2 [Issue 764] (typeof(o)).classinfo causes parser error
thomask
parents:
diff changeset
20 }