From 1b26188b333b8bce2ef8c65b9bb44073300ad503 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Wed, 19 Feb 2003 22:56:45 +0000 Subject: [PATCH] Extended test by adding in trailing comma to enum list git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4360 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Examples/test-suite/enum_scope.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }