Mercurial > projects > dstress
view run/dchar_03.d @ 1536:89775df1607d
vtable can't be used as a template parameter
author | thomask |
---|---|
date | Mon, 07 May 2007 05:20:25 +0000 |
parents | 0e1a3785ec97 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.dchar_03; int main(){ dchar c; assert(dchar.sizeof==4); assert(dchar.sizeof==c.sizeof); assert(dchar.sizeof==(cast(dchar)'a').sizeof); assert(dchar.sizeof==typeof(c).sizeof); return 0; }