blob: 8b44b8172692275ce5d789540768044b5eb8ed99 [file] [log] [blame]
/* 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;
};
%}