swig/Examples/test-suite/cplusplus_throw.i
William S Fulton 5d4849ddf0 Removed deprecated pragmas
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:12:22 +00:00

22 lines
365 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
%nodefault;
%inline %{
class Foo { };
class Bar {
public:
void baz() const { };
void foo() throw (Foo) { };
void bazfoo() const throw (int) { };
};
%}