Changed the class name from Object to SomeClass in the

constructor_exception.i test case.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Logan Johnson 2003-03-07 18:30:06 +00:00
commit 40fa3e289d

View file

@ -4,9 +4,9 @@
class Error {
};
class Object {
class SomeClass {
public:
Object(int x) {
SomeClass(int x) {
if (x < 0) {
throw Error();
}
@ -14,7 +14,7 @@ public:
};
class Test {
Object o;
SomeClass o;
public:
Test(int x) try : o(x) { }
catch (Error &e) {