Summary: ICE when a non-template member named '__ctor' exists
                    in a struct, and the constructor is attempted to be
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2011-06-05 00:52:47 PDT ---
Test case:

struct Foo {
    enum __ctor = 4; // can also be a function, struct, alias, but template is
void main() {
    auto f = Foo("irrelevant"); // can also use 'new Foo(...)'
Assertion failed: (td), function semantic, file expression.c, line 7040.
Abort trap

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to