diff options
Diffstat (limited to 'sources/shiboken6/tests/libsample')
-rw-r--r-- | sources/shiboken6/tests/libsample/abstract.cpp | 2 | ||||
-rw-r--r-- | sources/shiboken6/tests/libsample/abstract.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/libsample/abstract.cpp b/sources/shiboken6/tests/libsample/abstract.cpp index e60c792c4..3b2b1ef0a 100644 --- a/sources/shiboken6/tests/libsample/abstract.cpp +++ b/sources/shiboken6/tests/libsample/abstract.cpp @@ -36,7 +36,7 @@ const int Abstract::staticPrimitiveField = 0; Abstract::Abstract(int id) : m_id(id) { - primitiveField = 123; + toBeRenamedField = readOnlyField = primitiveField = 123; valueTypeField = Point(12, 34); objectTypeField = nullptr; bitField = 0; diff --git a/sources/shiboken6/tests/libsample/abstract.h b/sources/shiboken6/tests/libsample/abstract.h index 09906f1ee..746107c71 100644 --- a/sources/shiboken6/tests/libsample/abstract.h +++ b/sources/shiboken6/tests/libsample/abstract.h @@ -67,6 +67,8 @@ public: Complex userPrimitiveField; Point valueTypeField; ObjectType* objectTypeField; + int toBeRenamedField; + int readOnlyField; Abstract(int id = -1); virtual ~Abstract(); |