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:
parent
d148fc5669
commit
3c6a4d6f6a
1 changed files with 1 additions and 1 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue