On 03.09.2016 05:15, Walter Bright wrote:
On 9/1/2016 10:49 AM, Timon Gehr wrote:
The following causes an ICE (DMD segfaults).

import std.stdio;

int f(T)(T t) if(!__traits(compiles,.f!T)) {
    return 0;
}
int f(T)(T t) if(!__traits(compiles,.f!T)) {
    return 1;
}

void main(){
    writeln(f(2));
}

Please post seg faults to bugzilla.


It had already been reported:
https://issues.dlang.org/show_bug.cgi?id=11856

I have added this example to the report.

Reply via email to