diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-01-28 16:23:55 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:13:51 -0300 |
commit | 4c26fce0a8d14bf9c4982473bc62e4c5d25573c1 (patch) | |
tree | ccce92b36e98f71b55e988313091f53f83ca5b0c /tests/libsample | |
parent | 067e2a62a378cfea36064cf21891b328fc021aa4 (diff) |
Fix regression that caused overload sorting to not respect argument type renames.
Diffstat (limited to 'tests/libsample')
-rw-r--r-- | tests/libsample/overloadsort.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/libsample/overloadsort.h b/tests/libsample/overloadsort.h index c95c35728..b3a95bc09 100644 --- a/tests/libsample/overloadsort.h +++ b/tests/libsample/overloadsort.h @@ -71,6 +71,11 @@ public: inline const char *overloadDeep(int x, ImplicitBase &y) { return "ImplicitBase"; } + + + inline const char* pyObjOverload(int, int) { return "int,int"; } + inline const char* pyObjOverload(unsigned char*, int) { return "PyObject,int"; } + }; #endif // OVERLOADSORT_H |