digitalmars.D.bugs - [Issue 14424] New: dmd crashes with __traits(getUnitTests)
- via Digitalmars-d-bugs (38/38) Apr 07 2015 https://issues.dlang.org/show_bug.cgi?id=14424
https://issues.dlang.org/show_bug.cgi?id=14424 Issue ID: 14424 Summary: dmd crashes with __traits(getUnitTests) Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: critical Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: atila.neves gmail.com To reproduce (I tried this under /tmp and it didn't work, but under ~/coding/d/crash it did): example/example_crash.d: void main() { import tests.pass.crash; __traits(getUnitTests, tests.pass.crash); } tests/pass/crash.d: module tests.pass.crash; unittest { } Run `dmd -v -c -unittest example/example_crash.d`: binary dmd version v2.067 config /etc/dmd.conf parse example_crash importall example_crash import object (/usr/include/dlang/dmd/object.di) semantic example_crash entry main example/example_crash.d semantic2 example_crash semantic3 example_crash import tests.pass.crash (tests/pass/crash.d) zsh: segmentation fault (core dumped) dmd -v -c -unittest example/example_crash.d --
Apr 07 2015