expand protected using testcase

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2011-01-28 19:50:57 +00:00
commit 3d822b6032

View file

@ -5,12 +5,21 @@ class Foo {
protected: protected:
int x; int x;
int blah(int xx) { return xx; } int blah(int xx) { return xx; }
virtual int vmethod(int xx) { return xx; }
}; };
class FooBar : public Foo { class FooBar : public Foo {
public: public:
using Foo::blah; using Foo::blah;
using Foo::x; using Foo::x;
using Foo::vmethod;
};
class FooBaz : public Foo {
protected:
using Foo::blah;
using Foo::x;
using Foo::vmethod;
}; };
%} %}