[Issue 18490] New: dspec_tester fails
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Feb 22 10:42:12 UTC 2018
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: nobody at puremagic.com
Reporter: timothee.cour2 at gmail.com
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
+ ---
--
More information about the Digitalmars-d-bugs
mailing list