☰
Debian Codegraph
@
1.17.1-1
/
/
tests
/
empty-qstringliteral
/
main.cpp
☽
☼
tests/empty-qstringliteral/main.cpp
code
plain
raw
LGPL-2+
2015-2020 Sergio Martins <
[email protected]
>; 2015, 2016, 2019-2020 Klarälvdalens Datakonsult AB, a KDAB Group company,
[email protected]
; 2015 Nyall Dawson <
[email protected]
>; 2015 Mathias Hasselmann <
[email protected]
>; 2015 Albert Astals Cid <
[email protected]
>; 2019 Christian Gagneraud <
[email protected]
>; 2019 Jean-Michaël Celerier <
[email protected]
>; 2019 Nikolai Kosjar <
[email protected]
>; 2020 Lucie Gerard <
[email protected]
>; 2020 The Qt Company Ltd.
debian/copyright
1
#include <QtCore/QObject>
2
#include <QtCore/QString>
3
#include "ui_qstringliteral.h" // OK
4
void test()
5
{
6
QStringLiteral("foo");
7
QStringLiteral("");
8
QStringLiteral();
9
10
if ("foo" == QStringLiteral()) {}
11
}