summaryrefslogtreecommitdiff
path: root/Examples/test-suite/using_protected.i
blob: 23adfdbba43cb5bb07f557f4922e7fe4238a9502 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%module using_protected

%inline %{
class Foo {
protected:
     int x;
     int blah(int xx) { return xx; }
};

class FooBar : public Foo {
public:
     using Foo::blah;
     using Foo::x;
};

%}