summaryrefslogtreecommitdiff
path: root/Examples/test-suite/defvalue_constructor.i
blob: e4aabaf50b372c77a0e0b596ecbc3f881e886cfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%module defvalue_constructor
%inline %{

namespace Foo { 
 
    class Bar {}; 
 
    class Baz { 
      public: 
        Baz(Bar b = Bar()) {}
    }; 
} 

%}