https://issues.dlang.org/show_bug.cgi?id=18490
Issue ID: 18490
Summary: dspec_tester fails
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: normal
Priority: P1
Component: tools
Assignee: [email protected]
Reporter: [email protected]
see https://github.com/dlang/dlang.org/pull/2169#pullrequestreview-96041881 for
context
segfault on:
+ $(SPEC_RUNNABLE_EXAMPLE_RUN
+ ---
+ size_t fun(T...)(T t, string file = __FILE__)
+ {
+ import std.stdio;
+ writeln(file, " ", t);
+ return T.length;
+ }
+ assert(fun(1, "foo") == 2); // not 1 (IFTI)
+ assert(fun!int(1, "foo") == 1); // IFTI
+ ---
--