summaryrefslogtreecommitdiff
path: root/testsuite/tests/rts/all.T
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-01-19 18:54:42 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-01-24 21:28:24 -0500
commit5262b1e541c8f67e249074eef5e0567e6603ccd9 (patch)
treee9305dc8ba79415bac7b09f7534895f379371297 /testsuite/tests/rts/all.T
parent516eeb9e295b50872398bc9848a42ab41f743316 (diff)
downloadhaskell-5262b1e541c8f67e249074eef5e0567e6603ccd9.tar.gz
Add test case for C++ exception handling
Diffstat (limited to 'testsuite/tests/rts/all.T')
-rw-r--r--testsuite/tests/rts/all.T5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T
index 7adb936b08..f2098f4122 100644
--- a/testsuite/tests/rts/all.T
+++ b/testsuite/tests/rts/all.T
@@ -470,6 +470,11 @@ test('keep-cafs',
],
makefile_test, ['KeepCafs'])
+# Test proper functioning of C++ exceptions within a C++ program.
+# On darwin, this requires -fcompact-unwind.
+# When -fcompact-unwind becomes default, generalize test to all platforms.
+test('T11829', unless(opsys('darwin'), skip), compile_and_run, ['T11829_c.cpp -lstdc++ -fcompact-unwind'])
+
test('T16514', unless(opsys('mingw32'), skip), compile_and_run, ['T16514_c.cpp -lstdc++'])
test('test-zeroongc', extra_run_opts('-DZ'), compile_and_run, ['-debug'])