digitalmars.D.bugs - [Issue 13245] New: segfault when instantiating template with
- via Digitalmars-d-bugs (29/29) Aug 03 2014 https://issues.dlang.org/show_bug.cgi?id=13245
https://issues.dlang.org/show_bug.cgi?id=13245 Issue ID: 13245 Summary: segfault when instantiating template with non-compiling function literal Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Keywords: ice Severity: regression Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: nilsbossung googlemail.com git head segfaults. 2.066.0-rc1 segfaults. 2.066.0-b6 and older work. --- cat > test.d << code template T(alias f) {} static assert(!is(T!((int x) {return invalid;}))); /* no segfault without "return" */ code dmd -c test.d --- Segmentation fault (core dumped) --- --
Aug 03 2014