QStringRef: test it works as QString::arg() argument


This broke in 5.15, so add a test.

Don't pick to 5.15, as the test has already been added there in
qtbase.

Pick-to: 6.5 6.4 6.2
Task-number: QTBUG-109723
Change-Id: I2eb2ae09d5052bd68548c4d7691d09ac9cf96579
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
commit39ae81b4d57eebbea1e4193e5ba6e04ea739fa9e
parent32b93e06f28bb08d99e1f2d34e7b6a680cf62344
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeMon, 2 Jan 2023 14:12:07 +0100