Mercurial > projects > dstress
view run/b/bug_cod1_2528_A.d @ 1597:8b9d4d2f925a
Fix typos in complex tests. See D bug 614.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 16:53:58 +0200 |
parents | ef3062e62d77 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Vladimir <thecybershadow@gmail.com> // @date@ 2007-04-03 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1092 // @desc@ [Issue 1092] compiler crash in ..\ztc\cod1.c 2528 module dstress.run.b.bug_cod1_2528_A; int main(){ byte x = 'Z'; void[] y = cast(void[])[x]; if('Z' != (cast(byte[]) y)[0]){ assert(0); } return 0; }