fix problem with protected members, and add some of them to the test

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2003-12-08 22:50:46 +00:00
commit 93dd1e228e
2 changed files with 5 additions and 0 deletions

View file

@ -35,10 +35,14 @@ public:
return "Bar::pong();" + Foo::pong();
}
int hello;
protected:
std::string ping() {
return "Bar::ping();";
};
int hi;
};