#include <stdexcept> int main() { throw std::bad_cast();}
Standard input is empty
prog.cpp: In function 'int main()': prog.cpp:4:10: error: 'bad_cast' is not a member of 'std'
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!