/* 例1.cpp */
#include <iostream>
using namespace std;
class A {
public:
  void vf() { cout << "I come from class A" << endl; }
};
class B : public A {};
class C : public A {};
class D : public B, public C {};

int main() {
  D d;
  d.vf(); // error
  
  return 0;
}
