Friends of B are on equal footing to members of B
Upcasting to a private or protected base A is restricted
See also the The C++ Prog. Lang. (4. edition) formulations of the rules page 605