summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qsharedpointer/externaltests.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qsharedpointer/externaltests.cpp b/tests/auto/qsharedpointer/externaltests.cpp
index d1618d1..6542350 100644
--- a/tests/auto/qsharedpointer/externaltests.cpp
+++ b/tests/auto/qsharedpointer/externaltests.cpp
@@ -324,6 +324,7 @@ namespace QTest {
sourceCode.reserve(8192);
sourceCode += programHeader;
+ sourceCode += '\n';
// Add Qt header includes
if (qtModules & QExternalTest::QtCore)