summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-07-16 17:10:24 -0400
committerBen Gamari <ben@smart-cactus.org>2022-07-16 17:10:24 -0400
commita09ffbaa8f43ecb88e51cc81c91cbef03e6cc32e (patch)
tree279b790fc35c9ed212503bba5652cc7b190ae9fa
parentdcf8b30a1a5f802b1d8a22ea74499e2896a6ff16 (diff)
downloadhaskell-wip/T11829.tar.gz
testsuite: Fix T11829 on Centos 7wip/T11829
It appears that Centos 7 has a more strict C++ compiler than most distributions since std::runtime_error is defined in <stdexcept> rather than <exception>. In T11829 we mistakenly imported the latter.
-rw-r--r--testsuite/tests/rts/T11829_c.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/rts/T11829_c.cpp b/testsuite/tests/rts/T11829_c.cpp
index 959851ad74..f80b179857 100644
--- a/testsuite/tests/rts/T11829_c.cpp
+++ b/testsuite/tests/rts/T11829_c.cpp
@@ -1,5 +1,5 @@
#include <iostream>
-#include <exception>
+#include <stdexcept>
extern "C" {
int func() {