fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct base {
  5. virtual ~base() = 0;
  6. };
  7.  
  8. base::~base() { }
  9.  
  10. struct derived : base {
  11. };
  12.  
  13. int main() {
  14. derived d;
  15. return 0;
  16. }
Success #stdin #stdout 0s 3292KB
stdin
Standard input is empty
stdout
Standard output is empty