Mercurial > projects > dstress
view run/t/typeof_16_A.d @ 1519:f71bd33bb278
updated to DMD-1.013
author | thomask |
---|---|
date | Fri, 27 Apr 2007 17:22:49 +0000 |
parents | 7231246f20c2 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Dan <ddaglas@gmail.com> // @date@ 2006-12-28 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=764 // @desc@ [Issue 764] (typeof(o)).classinfo causes parser error module dstress.run.t.typeof_16_A; int main() { Object o = new Object(); char[] name = (typeof(o)).classinfo.name; if("object.Object" != name){ assert(0); } return 0; }