April 01, 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

#
# template Template(){
#        version(A){
#                static assert(0);
#        }else{
#                version=A;
#        }
# }
#
# void test(){
#        mixin Template!();
# }
#

dmd / dmd -version=A
> A 0x811cb88
> version A
> dmd.bin: dsymbol.c:70: virtual Dsymbol* Dsymbol::syntaxCopy(Dsymbol*):
> Assertion `0' failed.
> Aborted

Added to DStress as http://dstress.kuehne.cn/nocompile/version_29.d http://dstress.kuehne.cn/nocompile/version_30.d http://dstress.kuehne.cn/nocompile/debug_04.d http://dstress.kuehne.cn/nocompile/debug_05.d

Thomas


-----BEGIN PGP SIGNATURE-----

iD8DBQFCTQmV3w+/yD4P9tIRAseJAJ9dN0mihYgJuJmNjv5J57HZovV95wCfZrK9
oWuwiMyRl/dR/SL60gbydgU=
=IBnv
-----END PGP SIGNATURE-----