diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-07-16 17:10:24 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-07-16 23:51:12 -0400 |
commit | 028f081e4e748794d7a0e6359987ec799c3dc404 (patch) | |
tree | aad8b0ae818e064898279616dd346c38d94f7084 | |
parent | aeb1a7c394ac78ceb4d86d1cc5805a7c2b1aa747 (diff) | |
download | haskell-028f081e4e748794d7a0e6359987ec799c3dc404.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.
-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() { |