From d84e3bbef876884de64b8ecf7b6887a248379600 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 18 Jun 2021 11:08:20 +0200 Subject: shiboken6: Add test for constants Task-number: PYSIDE-186 Change-Id: Ic4ba7f22bead8418a18dec100a77e3befe038a76 Reviewed-by: Christian Tismer Reviewed-by: Cristian Maureira-Fredes --- sources/shiboken6/tests/libsample/sample.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sources/shiboken6/tests/libsample') diff --git a/sources/shiboken6/tests/libsample/sample.h b/sources/shiboken6/tests/libsample/sample.h index fe76a53b2..a6a0ff154 100644 --- a/sources/shiboken6/tests/libsample/sample.h +++ b/sources/shiboken6/tests/libsample/sample.h @@ -46,6 +46,8 @@ namespace sample // shiboken must not generate richcompare for namespace sample LIBSAMPLE_API bool operator==(const sample&s1, const sample&s2); + + const int INT_CONSTANT = 42; } #endif -- cgit v1.2.3