You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#pragma safety enable
int*_Ownerf();
voidfree(void*_Owner_Optp);
intmain() {
int*_Ownerp=f();
int*_Owner_Optp2=0;
p2=p; // p moved to p2 //compiler knows that *p still valid free(p); //warning p was movedfree(p2); //ok
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: