Mercurial > projects > dstress
view run/d/debug_14_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 | 4a49d5a2169a |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Hasan Aljudy <hasan.aljudy@gmail.com> // @date@ 2007-02-23 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=1002 // @desc@ [Issue 1002] debug statement crashes at compile-time function execution module dstress.run.d.debug_14_A; dchar[] testd( dchar[] input ){ debug int x = 10; return "my"; } int main(){ static x = testd("hello"); if("my" != x){ assert(0); } return 0; }