Fix some more instances of __LINE__ and __FILE__ numbering
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
13d18e4c3f
commit
5a6443ebcf
3 changed files with 33 additions and 18 deletions
|
|
@ -34,8 +34,16 @@ public class preproc_line_file_runme {
|
|||
if (!preproc_line_file.MY_STRINGNUM_B.equals("my16"))
|
||||
throw new RuntimeException("preproc failed MY_STRINGNUM_B");
|
||||
|
||||
int myline2 = preproc_line_file.MYLINE2;
|
||||
if (myline2 != 23)
|
||||
if (preproc_line_file.getThing27() != -1)
|
||||
throw new RuntimeException("preproc failure");
|
||||
|
||||
if (preproc_line_file.getThing28() != -2)
|
||||
throw new RuntimeException("preproc failure");
|
||||
|
||||
if (preproc_line_file.MYLINE2 != 30)
|
||||
throw new RuntimeException("preproc failure");
|
||||
|
||||
if (SillyStruct.LINE_NUMBER != 41)
|
||||
throw new RuntimeException("preproc failure");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue