cpp: add skeleton test for inheritance graph