1#include <stdexcept>2 3int main(int argc, char const *argv[]) {4 throw std::invalid_argument("throwing exception for testing");5 return 0;6}7