void f( ref string a = "" )
{
a = "crash and burn";
}
main()
{
f(); // seg fault. This should not even compile.
}
I did not see a bug report on this one, but maybe I missed it.
Any comments before I submit a bug report?
--rt
void f( ref string a = "" )
{
a = "crash and burn";
}
main()
{
f(); // seg fault. This should not even compile.
}
I did not see a bug report on this one, but maybe I missed it.
Any comments before I submit a bug report?
--rt