aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2014-01-20 15:03:35 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2014-01-21 10:40:47 +0700
commite7ae95bd86e363d6c51ca00abacb6733fc0d01cb (patch)
treec4080c38043a205edca3d850be4ea74e0901a9f0 /tests
parent9339aabb90aeb8999fae8e2761142d94e0877b3e (diff)
Move workaround for emscripten from include/exception to library.js.
Diffstat (limited to 'tests')
-rw-r--r--tests/core/test_exceptions_std.in1
-rw-r--r--tests/core/test_exceptions_std.out3
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