diff --git a/SWIG/Examples/test-suite/enum_scope.i b/SWIG/Examples/test-suite/enum_scope.i index 4afc231c6..b17d6b188 100644 --- a/SWIG/Examples/test-suite/enum_scope.i +++ b/SWIG/Examples/test-suite/enum_scope.i @@ -8,7 +8,7 @@ %inline %{ class Tree { public: -enum types {Oak, Fir, Cedar}; +enum types {Oak, Fir, Cedar,}; void chop(enum types type) {} }; enum Tree::types chop(enum Tree::types type) { return type; }