fork download
  1. struct A
  2. {
  3. virtual const char* foo() = 0;
  4. };
  5.  
  6. struct B : A
  7. {
  8. char* foo() { return 0; }
  9. };
  10.  
  11. int main()
  12. {
  13. B b;
  14. }
Success #stdin #stdout 0s 2892KB
stdin
Standard input is empty
stdout
Standard output is empty