fork download
  1. struct S
  2. {
  3. virtual void f() = 0;
  4. virtual ~S(){}
  5. void g(){f();}
  6. S(){g();}
  7. };
  8.  
  9. struct T: S
  10. {
  11. void f(){}
  12. };
  13.  
  14. int main()
  15. {
  16. T t;
  17. }
Runtime error #stdin #stdout 0.01s 2720KB
stdin
Standard input is empty
stdout
Standard output is empty