diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2011-01-28 19:50:57 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2011-01-28 19:50:57 +0000 |
commit | 3d822b60323378a59ed19ed02c9f21764d77cf7f (patch) | |
tree | 75feffa9141ee24582c53db4c2595f2a65a938f3 | |
parent | 2f0dc16b2e011edcc3427c660a89a055d3e4ad4e (diff) | |
download | swig-3d822b60323378a59ed19ed02c9f21764d77cf7f.tar.gz |
expand protected using testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r-- | Examples/test-suite/using_protected.i | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/Examples/test-suite/using_protected.i b/Examples/test-suite/using_protected.i index 23adfdbba..402a7c8da 100644 --- a/Examples/test-suite/using_protected.i +++ b/Examples/test-suite/using_protected.i @@ -3,14 +3,23 @@ %inline %{ class Foo { protected: - int x; - int blah(int xx) { return xx; } + int x; + int blah(int xx) { return xx; } + virtual int vmethod(int xx) { return xx; } }; class FooBar : public Foo { public: - using Foo::blah; - using Foo::x; + using Foo::blah; + using Foo::x; + using Foo::vmethod; +}; + +class FooBaz : public Foo { +protected: + using Foo::blah; + using Foo::x; + using Foo::vmethod; }; %} |