which of the following calls to ohai() are valid
error: ‘void A::ohai()’ is inaccessible
struct A { void ohai() {} };
^
main.cpp:20:11: error: within this context
B().ohai();
^
main.cpp:8:17: error: ‘void A::ohai()’ is inaccessible
struct A { void ohai() {} };
^
main.cpp:22:11: error: within this context
D().ohai();