swig/SWIG/Examples/ocaml/scoped_enum
Art Yerkes 87f4bcef2e This example both shows the new enum literal facility, and is a regression
test against the enum scoping problem I had.

Ocaml.cxx: Accidentally reintroduced the enum scoping problem, so I added
an example that will fail if this is ever broken again.

I encountered the actual problem in avifile.h


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 06:57:57 +00:00
..
example.i This example both shows the new enum literal facility, and is a regression 2003-12-04 06:57:57 +00:00
example_prog.ml This example both shows the new enum literal facility, and is a regression 2003-12-04 06:57:57 +00:00
foo.h This example both shows the new enum literal facility, and is a regression 2003-12-04 06:57:57 +00:00
Makefile This example both shows the new enum literal facility, and is a regression 2003-12-04 06:57:57 +00:00
README This example both shows the new enum literal facility, and is a regression 2003-12-04 06:57:57 +00:00

This tests our handling of scoped enums.  Run with argument Tag1 or Tag2.