[Issue 925] ICE on casting array literal to void[]
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat Nov  7 08:01:59 PST 2009
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=925
Robert Clipsham <robert at octarineparrot.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |wrong-code
             Status|RESOLVED                    |REOPENED
                 CC|                            |robert at octarineparrot.com
         Resolution|WORKSFORME                  |
--- Comment #3 from Robert Clipsham <robert at octarineparrot.com> 2009-11-07 08:01:58 PST ---
This test case is failing in dmd 1.051. The ICE has gone, but the result at
runtime is incorrect.
----
module dstress.run.b.bug_cod1_2528_C;
int main(){
        auto x = cast(void[])[1];
        return x.length - 1;
}
----
Returns 3 instead of 0.
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list