www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15802] New: (SIGSEGV) CppMangleVisitor::source_name

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: nobody puremagic.com
          Reporter: kozzi11 gmail.com

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) ()

--
Mar 15 2016