www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Assertion failure: '0' on line 704 in file 'expression.c'

reply Wang Zhen <nehzgnaw gmail.com> writes:
template t(int t){} int main(){return t!(main());}
//crashes dmd 0.147
Feb 17 2006
parent Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wang Zhen schrieb am 2006-02-17:
 template t(int t){} int main(){return t!(main());}
 //crashes dmd 0.147
Added to DStress as http://dstress.kuehne.cn/nocompile/t/template_30_A.d http://dstress.kuehne.cn/nocompile/t/template_30_B.d http://dstress.kuehne.cn/nocompile/t/template_30_C.d http://dstress.kuehne.cn/nocompile/t/template_30_D.d http://dstress.kuehne.cn/nocompile/t/template_30_E.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFD9ca73w+/yD4P9tIRAq7CAJ9+IvGzLKUhwsM73n/SN2sgStAp/wCgxDsA DnwyVGt1Qm15rLWV2W85JYo= =iVoX -----END PGP SIGNATURE-----
Feb 17 2006