Rename r_base_test to overload_method as it is a useful test for all languages

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2012-04-15 18:10:58 +00:00
commit bee885dfe0
4 changed files with 6 additions and 6 deletions

View file

@ -0,0 +1,20 @@
/* This test confirms the fix to sourceforge bug #3478922 for R */
%module overload_method
%inline %{
class Base
{
public:
Base() : x(42) {}
int method() const { return x; }
void overloaded_method(int aArg) { x = aArg; }
int overloaded_method() const { return x; }
private:
int x;
};
%}