www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - weird template crashes dmd 0.112

reply zwang <nehzgnaw gmail.com> writes:
void main(){assert((new S!()).i==4);}
struct S(){int i=f(0).sizeof;}
int f(...);
Feb 03 2005
parent Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

zwang schrieb am Fri, 04 Feb 2005 00:26:31 +0800:
 void main(){assert((new S!()).i==4);}
 struct S(){int i=f(0).sizeof;}
 int f(...);

Added to DStress as http://dstress.kuehne.cn/run/bug_todt_194_A.d http://dstress.kuehne.cn/run/bug_todt_194_B.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFCArw13w+/yD4P9tIRAgwNAJ4rUMx9VqvVqKNJqtbYp1wEuf/twgCfU9yy fzqxvlwPoeVTAjlfUwZMPDU= =7tJ8 -----END PGP SIGNATURE-----
Feb 03 2005