summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testdata/findMocs/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/qmake/testdata/findMocs/main.cpp')
-rw-r--r--tests/auto/tools/qmake/testdata/findMocs/main.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/auto/tools/qmake/testdata/findMocs/main.cpp b/tests/auto/tools/qmake/testdata/findMocs/main.cpp
index 2123fca958..6ee2d2f5e2 100644
--- a/tests/auto/tools/qmake/testdata/findMocs/main.cpp
+++ b/tests/auto/tools/qmake/testdata/findMocs/main.cpp
@@ -1,6 +1,5 @@
// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
-
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <moc_object1.cpp>
#include <moc_object2.cpp>
@@ -12,4 +11,9 @@
#include "object8.h"
#include <moc_object9.cpp>
-int main() { return 0; }
+int main() { return 0'000; }
+/* Included *after* the use of a numeric literal with an *odd* number of digit
+ separator tick marks in it (and no subsequent apostrophe to end the
+ "single-quoted character literal" that the old parser though it was thus left
+ in). */
+#include <moc_digitseparated.cpp>