Extended test by adding in trailing comma to enum list

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-02-19 22:56:45 +00:00
commit 3c6a4d6f6a

View file

@ -8,7 +8,7 @@
%inline %{ %inline %{
class Tree { class Tree {
public: public:
enum types {Oak, Fir, Cedar}; enum types {Oak, Fir, Cedar,};
void chop(enum types type) {} void chop(enum types type) {}
}; };
enum Tree::types chop(enum Tree::types type) { return type; } enum Tree::types chop(enum Tree::types type) { return type; }