digitalmars.D.bugs - [Issue 19542] New: Forward reference segfault with string namespace
- d-bugmail puremagic.com (25/25) Jan 02 2019 https://issues.dlang.org/show_bug.cgi?id=19542
https://issues.dlang.org/show_bug.cgi?id=19542 Issue ID: 19542 Summary: Forward reference segfault with string namespace C++ syntax Product: D Version: D2 Hardware: All OS: Mac OS X Status: NEW Keywords: C++ Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: pro.mathias.lang gmail.com ``` pragma(msg, func!(int).mangleof); extern(C++, `bar`) { void func(T)(); } ``` SEGV with DMD64 D Compiler v2.084.0-170-g16cf015ec Moving `pragma` after the declaration, or using the non-string syntax does not. --
Jan 02 2019