diff --git a/Examples/test-suite/defvalue_constructor.i b/Examples/test-suite/defvalue_constructor.i index ebb4d2aba..e4aabaf50 100644 --- a/Examples/test-suite/defvalue_constructor.i +++ b/Examples/test-suite/defvalue_constructor.i @@ -7,7 +7,7 @@ namespace Foo { class Baz { public: - Baz(Bar b = Bar()); + Baz(Bar b = Bar()) {} }; } diff --git a/Examples/test-suite/lextype.i b/Examples/test-suite/lextype.i index bb1bf2006..b96f49d78 100644 --- a/Examples/test-suite/lextype.i +++ b/Examples/test-suite/lextype.i @@ -42,8 +42,8 @@ code is not functioning properly it will fail to compile. typedef void * Animal; typedef Animal Giraffe; -void eat(Giraffe g); -void drink(Giraffe *g); -Giraffe mate(Giraffe g[2]); +void eat(Giraffe g) {} +void drink(Giraffe *g) {} +Giraffe mate(Giraffe g[2]) {} %}