Add omitted testcase cpp_using_rename.i
This commit is contained in:
parent
f995bad785
commit
eb32a6298d
1 changed files with 22 additions and 0 deletions
22
Examples/test-suite/errors/cpp_using_rename.i
Normal file
22
Examples/test-suite/errors/cpp_using_rename.i
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
%module xxx
|
||||
|
||||
%rename(UseMe) use_me(int i);
|
||||
%rename(UseMeToo) Derived::use_me_too;
|
||||
|
||||
class Base
|
||||
{
|
||||
public:
|
||||
void use_me(Base *);
|
||||
void use_me(int i);
|
||||
bool use_me_too(double d) const;
|
||||
bool use_me_too(bool b) const;
|
||||
};
|
||||
|
||||
class Derived : public Base
|
||||
{
|
||||
public:
|
||||
using Base::use_me;
|
||||
using Base::use_me_too;
|
||||
using Base::does_not_exist;
|
||||
};
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue