Nested function bug?

Ed McCardell edmccard at hotmail.com
Fri Mar 30 14:27:56 PDT 2012


On 03/30/2012 04:51 PM, Andrej Mitrovic wrote:
> You mean the result is 55 when you uncomment "return&nested;"? All
> asserts pass for me when I use that return. Otherwise when using
> "return&escaping;" I get:
>
> 1244764
> 1244764
> 4202631
>
> 2.058 win32.

On 64-bit linux, the first two asserts always pass using either "return 
&nested" or "return &escaping". Just checked on 32-bit linux and I see 
the same behavior you are, with all three asserts failing using "return 
&escaping".

--Ed


More information about the Digitalmars-d mailing list