Bug 15837 – [REG 2.071-b1] stdout.writeln not called anymore in static lib

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-03-27T03:56:00Z
Last change time
2016-03-30T11:52:28Z
Assigned to
nobody
Creator
b2.temp

Comments

Comment #0 by b2.temp — 2016-03-27T03:56:17Z
make a static library with the following class class Foo { this() { import std.stdio; writeln("whatever"); } } then in a simple program import this static library and create a new Foo. then execute => nothing is written to the console !