http://d.puremagic.com/issues/show_bug.cgi?id=830
------- Comment #3 from tomas at famolsen.dk 2007-01-11 07:50 -------
your instance of A is null
This should work:
void main(char[][] args)
{
class A
{
static int v = 1;
int getv()
{
return v;
}
}
A a = new A;
assert (a.getv() == 1);
}
--