diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-07-16 17:10:24 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2022-07-20 22:30:54 -0400 |
commit | 00d4bf22d867976d1cdef6479a5859414093f40e (patch) | |
tree | ee24bbe2afa7889c863ef4e1d8e1777ba504c4c0 | |
parent | ed6aabc48a04424b2a68bdde964445b58cedd05b (diff) | |
download | haskell-00d4bf22d867976d1cdef6479a5859414093f40e.tar.gz |
testsuite: Fix T11829 on Centos 7
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.
(cherry picked from commit 028f081e4e748794d7a0e6359987ec799c3dc404)
-rw-r--r-- | testsuite/tests/rts/T11829_c.cpp | 2 |
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() { |