1  struct A {
       2    virtual int foo();
       3  };
       4  
       5  int A::foo()
       6  {
       7    return 1;
       8  }
       9  
      10  
      11  
       1  struct A {
       2    virtual int foo();
       3  };
       4  
       5  int A::foo()
       6  {
       7    return 1;
       8  }
       9  
      10  
      11