[Issue 1783] DMD 1.025 asserts on code with struct, template, and alias

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 12 01:13:00 PST 2008


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


matti.niemenmaa+dbugzilla at iki.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code, ice-on-
                   |                            |valid-code
         OS/Version|Linux                       |All
           Platform|PC                          |All
            Version|unspecified                 |1.025




------- Comment #1 from matti.niemenmaa+dbugzilla at iki.fi  2008-01-12 03:12 -------
The unittest block and V aren't necessary, any access to data is enough:

template T() {}

struct S {
    alias T!() data;
}

void main() {
    S.data;
}


-- 



More information about the Digitalmars-d-bugs mailing list