[Issue 22737] Segmentation fault in CppMangleVisitor.getTiNamespace

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 4 22:42:30 UTC 2022


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

moonlightsentinel at disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel at disroot.o
                   |                            |rg
           Severity|normal                      |regression

--- Comment #1 from moonlightsentinel at disroot.org ---
Slightly reduced / modified:

==================================================
template Identity(T)
{
        alias T Identity;
}

extern(C++) Identity!T identity(T)()
{
    return Identity!T.init;
}
void main()
{
    identity!int();
}
================================================== 

Up to      2.063  : Success and no output
2.064   to 2.066.0: Segfault and no output
2.067.1 to 2.083.1: Success and no output
Since      2.084.1: Segfault and no output

--


More information about the Digitalmars-d-bugs mailing list