Mercurial > projects > dstress
view run/t/template_class_13_J.d @ 753:61617b6d35af
updated test cases to DMD-0.140
author | thomask |
---|---|
date | Sat, 26 Nov 2005 08:51:44 +0000 |
parents | |
children | b8c0195059d9 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Thomas Kuehne <thomas-dloop@kuehne.cn> // @date@ 2005-11-26 // @uri@ news:sd7l53-p6d.ln1@birke.kuehne.cn module dstress.run.t.template_class_13_J; class C(ireal f){ ireal cf = f; } int main(){ const ireal a = 1.2i; auto sa = new C!(a); assert(sa.cf == a); return 0; }