summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/cxx-attributes.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/cxx-attributes.h')
-rw-r--r--tests/auto/tools/moc/cxx-attributes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/tools/moc/cxx-attributes.h b/tests/auto/tools/moc/cxx-attributes.h
index c4f27eb8c4..73be4d56eb 100644
--- a/tests/auto/tools/moc/cxx-attributes.h
+++ b/tests/auto/tools/moc/cxx-attributes.h
@@ -35,7 +35,7 @@ QT_WARNING_PUSH
QT_WARNING_DISABLE_CLANG("-Wunknown-attributes")
QT_WARNING_DISABLE_GCC("-Wattributes")
-class CppAttribute : public QObject
+class [[deprecated]] CppAttribute : public QObject
{
Q_OBJECT
signals: