summaryrefslogtreecommitdiffstats
path: root/tests/auto/linguist/lupdate/testdata/good/parsecpp2/main.cpp
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2023-03-23 16:00:31 +0200
committerTarja Sundqvist <tarja.sundqvist@qt.io>2023-03-23 16:00:31 +0200
commit1e7d50937f4b94c37a16f6370c0fd4ccb4329190 (patch)
tree94b5752f1ae4372db08848e3020295c1de567686 /tests/auto/linguist/lupdate/testdata/good/parsecpp2/main.cpp
parent6914f7c8039e5d9aab9446a6d0d882caf9f61025 (diff)
parent55fe27c4455eb54830bb08f19e34d8f2f137ad2f (diff)
Merge remote-tracking branch 'origin/tqtc/lts-5.15.9' into tqtc/lts-5.15-opensourcev5.15.9-lts-lgpl
Diffstat (limited to 'tests/auto/linguist/lupdate/testdata/good/parsecpp2/main.cpp')
-rw-r--r--tests/auto/linguist/lupdate/testdata/good/parsecpp2/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/linguist/lupdate/testdata/good/parsecpp2/main.cpp b/tests/auto/linguist/lupdate/testdata/good/parsecpp2/main.cpp
index dec5232fc..9e0136258 100644
--- a/tests/auto/linguist/lupdate/testdata/good/parsecpp2/main.cpp
+++ b/tests/auto/linguist/lupdate/testdata/good/parsecpp2/main.cpp
@@ -139,3 +139,10 @@ const QString nodelimiter(QObject::tr(R"(
const Qstring withdelimiter = QObject::tr(R"delim(
This is a test string
)delim");
+
+
+// New in C++14: integer literals may contain single quotes as separator.
+struct IntLiteralsWithSeparators {
+ long d = 10'000'000'0'00;
+ int x = 0x1'AF'FE;
+};