Mercurial > projects > dstress
view run/t/template_20_F.d @ 1598:23834ba9736a
Fixed typos in test cases. See D bug 2174.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 17:03:25 +0200 |
parents | 61617b6d35af |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ module dstress.run.t.template_20_F; template T(ireal f){ ireal cf = f; } int main(){ const ireal a = 1.2i; assert(T!(a).cf == a); const ireal b = -0.8i; assert(T!(b).cf == b); return 0; }