call the sanity_check function to check the C++ operators are implemented correctly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b5d3117170
commit
c80bfc55e6
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ public class operator_overload_runme {
|
|||
|
||||
// Java does not support operators, so we just check that these can be called as methods.
|
||||
|
||||
Op.sanity_check();
|
||||
|
||||
//test routine:
|
||||
Op a = new Op();
|
||||
Op b = new Op(5);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue