http://d.puremagic.com/issues/show_bug.cgi?id=4269


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
            Version|D2                          |D1 & D2


--- Comment #2 from Don <clugd...@yahoo.com.au> 2010-06-15 13:41:05 PDT ---
Here's a test case which incorrectly compiles on D1.055 and later, but
generated an error on DMD1.053 and earlier.

static if(!is(typeof(A[0]))) pragma(msg, "A.sizeof doesn't compile!");

struct A {
    B foo(){} 
}

And this variation is ICE(glue.c) on 2.047, but generates wrong code on
2.031-2.046.

static if(!is(typeof(A[0]))) pragma(msg, "A.sizeof doesn't compile!");
struct A {
    void foo(B b){} 
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to