fork(82) download
  1. #include <stdexcept>
  2.  
  3. class A { };
  4.  
  5. class err : public A, public std::runtime_error
  6. {
  7. public:
  8. err() : std::runtime_error("") { }
  9. };
  10.  
  11. int main() {
  12. err x;
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 2892KB
stdin
Standard input is empty
stdout
Standard output is empty