git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
22 lines
365 B
OpenEdge ABL
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) { };
|
|
};
|
|
|
|
%}
|
|
|