warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c53347f088
commit
6caf912607
1 changed files with 8 additions and 8 deletions
|
|
@ -60,43 +60,43 @@ public class runme
|
|||
try {
|
||||
default_args.exceptionspec();
|
||||
throw new Exception("exceptionspec 1 failed");
|
||||
} catch (Exception e) {
|
||||
} catch (Exception) {
|
||||
}
|
||||
try {
|
||||
default_args.exceptionspec(-1);
|
||||
throw new Exception("exceptionspec 2 failed");
|
||||
} catch (Exception e) {
|
||||
} catch (Exception) {
|
||||
}
|
||||
try {
|
||||
default_args.exceptionspec(100);
|
||||
throw new Exception("exceptionspec 3 failed");
|
||||
} catch (Exception e) {
|
||||
} catch (Exception) {
|
||||
}
|
||||
Except ex = new Except(false);
|
||||
try {
|
||||
ex.exspec();
|
||||
throw new Exception("exspec 1 failed");
|
||||
} catch (Exception e) {
|
||||
} catch (Exception) {
|
||||
}
|
||||
try {
|
||||
ex.exspec(-1);
|
||||
throw new Exception("exspec 2 failed");
|
||||
} catch (Exception e) {
|
||||
} catch (Exception) {
|
||||
}
|
||||
try {
|
||||
ex.exspec(100);
|
||||
throw new Exception("exspec 3 failed");
|
||||
} catch (Exception e) {
|
||||
} catch (Exception) {
|
||||
}
|
||||
try {
|
||||
ex = new Except(true);
|
||||
throw new Exception("Except constructor 1 failed");
|
||||
} catch (Exception e) {
|
||||
} catch (Exception) {
|
||||
}
|
||||
try {
|
||||
ex = new Except(true, -2);
|
||||
throw new Exception("Except constructor 2 failed");
|
||||
} catch (Exception e) {
|
||||
} catch (Exception) {
|
||||
}
|
||||
|
||||
// Default parameters in static class methods
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue