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

%inline %{

class A {
public:
        virtual ~A() { }
  
	virtual void f(void) = 0;
};

class B : public A {
public:
        void f() { }
};

%}