diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/core/test_exceptions_std.in | 1 | ||||
-rw-r--r-- | tests/core/test_exceptions_std.out | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/core/test_exceptions_std.in b/tests/core/test_exceptions_std.in index 4b5905d8..3b9f874b 100644 --- a/tests/core/test_exceptions_std.in +++ b/tests/core/test_exceptions_std.in @@ -7,6 +7,7 @@ int main() { throw e; } catch (std::exception e) { + printf("what? %s\n", e.what()); printf("caught std::exception\n"); } return 0; diff --git a/tests/core/test_exceptions_std.out b/tests/core/test_exceptions_std.out index c1660de4..eddab21c 100644 --- a/tests/core/test_exceptions_std.out +++ b/tests/core/test_exceptions_std.out @@ -1 +1,2 @@ -caught std::exception
\ No newline at end of file +what? std::exception +caught std::exception |