diff options
Diffstat (limited to 'Examples/test-suite/defvalue_constructor.i')
| -rw-r--r-- | Examples/test-suite/defvalue_constructor.i | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Examples/test-suite/defvalue_constructor.i b/Examples/test-suite/defvalue_constructor.i new file mode 100644 index 0000000..e4aabaf --- /dev/null +++ b/Examples/test-suite/defvalue_constructor.i @@ -0,0 +1,14 @@ +%module defvalue_constructor +%inline %{ + +namespace Foo { + + class Bar {}; + + class Baz { + public: + Baz(Bar b = Bar()) {} + }; +} + +%} |
