blob: f262a59abad9c5e8b02d324cadc64571723ff92a [file] [log] [blame]
// REQUIRED_ARGS: -lib -Icompilable/extra-files
// EXTRA_FILES: extra-files/imp12624.d
// https://issues.dlang.org/show_bug.cgi?id=12624
struct SysTime
{
import imp12624;
Rebindable!(immutable TimeZone) _timezone = UTC();
}
class TimeZone
{
this(string , string , string ) immutable {}
}
class UTC : TimeZone
{
static immutable(UTC) opCall()
{
return _utc;
}
this() immutable {
super("UTC", "UTC", "UTC");
}
static _utc = new immutable(UTC);
}