aboutsummaryrefslogtreecommitdiff
path: root/tests/lexer
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lexer')
-rw-r--r--tests/lexer/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lexer/driver.cxx b/tests/lexer/driver.cxx
index 8ba71a5..5575956 100644
--- a/tests/lexer/driver.cxx
+++ b/tests/lexer/driver.cxx
@@ -161,7 +161,7 @@ lex (const char* s)
{
r.push_back ("<lexer error>");
}
- catch (const std::ios_base::failure&)
+ catch (const io_error&)
{
r.push_back ("<io error>");
}