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: nob...@puremagic.com
          Reporter: k.hara...@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 {}
}

--

Reply via email to