summaryrefslogtreecommitdiff
path: root/test cases/unit/49 introspection/sharedlib/shared.cpp
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2018-11-29 12:56:52 +0100
committerDaniel Mensinger <daniel@mensinger-ka.de>2019-01-06 12:19:28 +0100
commitc4eb5c79fe89ca49dd9d9f5bd72be99d919dd2a0 (patch)
treed32bb616886be379b602760ac8f42095a8f4ad0d /test cases/unit/49 introspection/sharedlib/shared.cpp
parent24d668bea06b3b953855fa12ef2f5b417d4dd163 (diff)
downloadmeson-c4eb5c79fe89ca49dd9d9f5bd72be99d919dd2a0.tar.gz
Added unit test
Diffstat (limited to 'test cases/unit/49 introspection/sharedlib/shared.cpp')
-rw-r--r--test cases/unit/49 introspection/sharedlib/shared.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/test cases/unit/49 introspection/sharedlib/shared.cpp b/test cases/unit/49 introspection/sharedlib/shared.cpp
new file mode 100644
index 000000000..5030ab75e
--- /dev/null
+++ b/test cases/unit/49 introspection/sharedlib/shared.cpp
@@ -0,0 +1,9 @@
+#include "shared.hpp"
+
+void SharedClass::doStuff() {
+ number++;
+}
+
+int SharedClass::getNumber() const {
+ return number;
+}