[Issue 10723] std.stdio.File.byLine causes segfault when compiling with -O
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 27 07:12:17 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=10723
--- Comment #11 from hsteoh at quickfur.ath.cx 2013-11-27 07:12:08 PST ---
Pasting the slightly different test case from 11611:
-----
import std.stdio;
void func(R)(R input) { }
version=bad;
void main()
{
try
{
version(bad)
func(File("").byLine());
version(good)
{
auto f = File("");
func(f.byLine());
}
}
catch(Exception e)
{
}
}
-----
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list