aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-03-20 13:32:33 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-03-20 13:32:33 +0100
commitacebfc7f1e50386a83c1f039399cf5cf914b893e (patch)
treeada2276fe49a1831cc7a5bfce331970ae0bc6aa0
parent4a434b19c347a6014f42cbcf0f1493d689e579fc (diff)
parent0ee25027edf1be38412e2a397c1c0a71d2bd146b (diff)
Merge remote-tracking branch 'origin/5.12' into 5.13
-rw-r--r--tests/auto/sanity/tst_sanity.cpp6
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;