diff options
-rw-r--r-- | tests/auto/sanity/tst_sanity.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/sanity/tst_sanity.cpp b/tests/auto/sanity/tst_sanity.cpp index 69553d93..d2d962bc 100644 --- a/tests/auto/sanity/tst_sanity.cpp +++ b/tests/auto/sanity/tst_sanity.cpp @@ -137,6 +137,12 @@ protected: m_errors += QString("%1:%2 : %3").arg(m_fileName).arg(node->firstSourceLocation().startLine).arg(error); } + void throwRecursionDepthError() + { + m_errors += QString::fromLatin1("%1: Maximum statement or expression depth exceeded") + .arg(m_fileName); + } + private: QString m_fileName; QStringList m_errors; |