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

          Issue ID: 15802
           Summary: (SIGSEGV) CppMangleVisitor::source_name
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

t.d:
extern(C++) {
    template Foo(T) {
        static void boo() {}
    }
}

void main()
{
    Foo!(int).boo();
}

dmd -c t.d

Program received signal SIGSEGV, Segmentation fault.
0x00000000004f6f5e in CppMangleVisitor::source_name(Dsymbol*, bool) ()

--

Reply via email to