[D] Test case fix: Aliases now required for non-overridden base class overloads.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
388484bb77
commit
3d82a7a185
1 changed files with 4 additions and 0 deletions
|
|
@ -19,7 +19,9 @@ public:
|
|||
int OverloadedMethod(int n, int xoffset, int yoffset) { return 0; }
|
||||
int OverloadedMethod(int n, int xoffset) { return 0; }
|
||||
int OverloadedMethod(int n) { return 0; }
|
||||
alias super.OverloadedMethod OverloadedMethod;
|
||||
|
||||
protected:
|
||||
int OverloadedProtectedMethod(int n, int xoffset, int yoffset) { return 0; }
|
||||
int OverloadedProtectedMethod(int n, int xoffset) { return 0; }
|
||||
int OverloadedProtectedMethod(int n) { return 0; }
|
||||
|
|
@ -31,7 +33,9 @@ public:
|
|||
int OverloadedMethod(int n, int xoffset, int yoffset) { return 0; }
|
||||
int OverloadedMethod(int n, int xoffset) { return 0; }
|
||||
int OverloadedMethod(int n) { return 0; }
|
||||
alias super.OverloadedMethod OverloadedMethod;
|
||||
|
||||
protected:
|
||||
int OverloadedProtectedMethod(int n, int xoffset, int yoffset) { return 0; }
|
||||
int OverloadedProtectedMethod(int n, int xoffset) { return 0; }
|
||||
int OverloadedProtectedMethod(int n) { return 0; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue