p4raw-id: //depot/perl@12625
if(SvROK(sv)) {
shared_sv* target = Perl_sharedsv_find(aTHX_ SvRV(sv));
if(!target) {
- SHAREDSvRELEASE(shared);
sv_setsv(sv,SHAREDSvGET(shared));
SHAREDSvUNLOCK(shared);
Perl_croak(aTHX_ "You cannot assign a non shared reference to a shared scalar");