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:
parent
f8bbede220
commit
40fa3e289d
1 changed files with 3 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue