Clarify the output of the exception-locale test
This commit is contained in:
1 parent
1228a03be4
commit
837fee3ce1
1 file changed
+2
-1
@@ -23,8 +23,9 @@ int main(int argc, char *argv[]) {
|
||||
try {
|
||||
std::locale loc("test");
|
||||
} catch (std::runtime_error& e) {
|
||||
std::cerr << "Caught " << e.what() << std::endl;
|
||||
std::cerr << "Caught \"" << e.what() << "\"" << std::endl;
|
||||
std::cerr << "Type " << typeid(e).name() << std::endl;
|
||||
std::cerr << "Test succeeded." << std::endl;
|
||||
} catch (...) {
|
||||
std::cerr << "catch all" << std::endl;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user