Author
anonymous
almost 7 years ago
$
prog.cc: In function 'int main()': prog.cc:7:15: error: 'base' is an inaccessible base of 'derived' base& b = d; ^ prog.cc:7:11: warning: unused variable 'b' [-Wunused-variable] base& b = d; ^