[Issue 13088] New: Compiler segfaults with trivial case code.

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 10 00:55:23 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13088

          Issue ID: 13088
           Summary: Compiler segfaults with trivial case code.
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ice
          Severity: critical
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: k.hara.pg at gmail.com

Test case:

struct X
{
    void mfoo(this T)() {}
}
void test()
{
    shared const X scx;

    scx.mfoo();
}

struct Vec
{
    int x;
    void sc() shared const {}
}

--


More information about the Digitalmars-d-bugs mailing list