xxxxxxxxxx
import std.stdio;
static interface I { ref double bar() pure nothrow ; }
static abstract class D { int index; }
static class C : D, I
{
double value;
ref double bar() pure nothrow { return value; }
this(double d) { value = d; }
~this() nothrow {}
}
void main() nothrow
{
auto c = new C(1);
destroy(c);
}