swig/Examples/test-suite/cplusplus_throw.i
Dave Beazley 12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00

22 lines
372 B
OpenEdge ABL

/* This interface file checks whether the SWIG parses the throw
directive in combination with the const directive. Bug reported by
Scott B. Drummonds, 08 June 2001.
*/
%module cplusplus_throw
%pragma no_default
%inline %{
class Foo { };
class Bar {
public:
void baz() const { };
void foo() throw (Foo) { };
void bazfoo() const throw (int) { };
};
%}