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.

Reply via email to