Mercurial > projects > dstress
view run/d/deprecated_21_A.d @ 1586:a74f0139fc3d
Fix tests using typeof on types.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 21 Aug 2008 15:42:21 +0200 |
parents | 9dcac8d4e97f |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // __DSTRESS_DFLAGS__ -d module dstress.run.d.deprecated_21_A; deprecated x = 4.0; int main(){ if(typeid(typeof(x)).toString() != "double"){ assert(0); } return 0; }