----
void main()
{
alias RefCounted!(int, RefCountedAutoInitialize.yes) RCY;
alias RefCounted!(int, RefCountedAutoInitialize.no) RCN;
RCY a;
RCN b;
a = 5; //(1)
b = 5; //(2)
};
----
(1) will create an "object.Error: Access Violation"
=> This should actually be a legal call.
(2) will create an "object.Error: Access Violation"
=> Correct behavior but...
=> Suggest adding an assert for development.