[Issue 656] New: lazy in main

Thomas Kuehne thomas-dloop at kuehne.cn
Thu Dec 7 02:59:19 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d-bugmail at puremagic.com schrieb am 2006-12-06:
> http://d.puremagic.com/issues/show_bug.cgi?id=656

> Using GDC rev-50.
>
> //---------
> int main (lazy char [][] args)
> {
>         return args.length;
> }
> //---------
> $ gdmd test
> $ ./test 
> Illegal instruction
> $ ./test foo
> Illegal instruction
> //---------

Test cases:
http://dstress.kuehne.cn/nocompile/m/main_07_A.d
http://dstress.kuehne.cn/nocompile/m/main_07_B.d

Thomas


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

iD8DBQFFd/grLK5blCcjpWoRApB+AKCuGR53dT3Z3nkewSWlDor7/CbldQCgrXIR
AMltN0Pxbd0QYw3PEMCcqwQ=
=KlJL
-----END PGP SIGNATURE-----



More information about the D.gnu mailing list