summaryrefslogtreecommitdiffstats
path: root/tests/libsample/overload.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/overload.h')
-rw-r--r--tests/libsample/overload.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libsample/overload.h b/tests/libsample/overload.h
index 739c4065..36b30f2b 100644
--- a/tests/libsample/overload.h
+++ b/tests/libsample/overload.h
@@ -57,6 +57,9 @@ public:
inline int intOverloads(const Point& p, double d) { return 1; }
inline int intOverloads(int i, int i2) { return 2; }
inline int intOverloads(int i, int removedArg, double d) { return 3; }
+
+ void singleOverload(Point* x) {}
+ Point* singleOverload() {return new Point();}
};
#endif // OVERLOAD_H