could someone check this on another system?
Georg Wrede
georg.wrede at iki.fi
Mon May 4 10:57:05 PDT 2009
BCS wrote:
> The attached (er. Can't seem to attach the file, I'll e-mail it to
> anyone who's willing to take a look) has a bug on WinXP DMD 1.040. I
> can't seem to reduce it at all as anything but trivial changes (like
> removing dead code) seems to make the bug vanish.
>
> The short description is I have some code that looks something like this:
>
>
> bool Foo()
> {
> bool ret = true;
> writef(ret,'\n');
> return ret;
> }
>
> unittest
> {
> auto ret = Foo();
> writef(ret,'\n');
> assert(ret);
> }
>
> output:
>
> true
> false
> Assert Failed
Prints
true
true
on Fedora-10, dmd v1.042
More information about the Digitalmars-d
mailing list