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