summaryrefslogtreecommitdiffstats
path: root/tests/auto/cmake/linguist/test_i18n_source_language/lib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/cmake/linguist/test_i18n_source_language/lib.cpp')
-rw-r--r--tests/auto/cmake/linguist/test_i18n_source_language/lib.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/cmake/linguist/test_i18n_source_language/lib.cpp b/tests/auto/cmake/linguist/test_i18n_source_language/lib.cpp
new file mode 100644
index 000000000..f99e0a9bf
--- /dev/null
+++ b/tests/auto/cmake/linguist/test_i18n_source_language/lib.cpp
@@ -0,0 +1,12 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+#include <QCoreApplication>
+#include <QDebug>
+
+void printStuff()
+{
+ qDebug()
+ << QObject::tr("We must not see this in the native language's .tr file.")
+ << QObject::tr("%n argument(s) passed", "", 156);
+}