git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
20 lines
320 B
OpenEdge ABL
20 lines
320 B
OpenEdge ABL
/* 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;
|
|
};
|
|
%}
|