Tweak test so it works if test-suite is run using -copyctor

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2012-11-13 22:17:55 +00:00
parent 7aa339cb3f
commit b40f678115
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ public class java_prepost_runme {
{
// ensure checked exception is generated
try {
PrePostThrows ppt = new PrePostThrows(null);
PrePostThrows ppt = new PrePostThrows(null, true);
} catch (InstantiationException e) {
}
}

View File

@ -83,7 +83,7 @@ struct PrePost2 {
%inline %{
struct PrePostThrows {
PrePostThrows(PrePostTest *ppt) {
PrePostThrows(PrePostTest *ppt, bool) {
}
};
%}