Add overloading tests for interface feature

This commit is contained in:
William S Fulton 2016-02-12 20:22:37 +00:00
commit d0fb0ae801
2 changed files with 12 additions and 1 deletions

View file

@ -8,7 +8,11 @@ DECLARE_INTERFACE_RENAME(IC, C, IC)
#endif
%inline %{
struct IA { virtual void ia() {} };
struct IA {
virtual void ia() {};
virtual void ia(const char *s, bool b = true) {}
virtual void ia(int i) {}
};
struct IB { virtual void ib() {} };
struct IC : IA, IB {};
struct D : IC {};