fix handling of function pointers by %constant directive

This commit is contained in:
Paweł Tomulik 2016-03-23 15:33:42 +01:00
commit 174523aa80
6 changed files with 69 additions and 23 deletions

View file

@ -18,5 +18,9 @@ public class constant_directive_runme {
throw new RuntimeException("fail");
if (constant_directive.TYPE1_CONSTANT3.getVal() != 3)
throw new RuntimeException("fail");
if (constant_directive.TYPE1CONST_CONSTANT1.getVal() != 1)
throw new RuntimeException("fail");
if (constant_directive.TYPE1CPTR_CONSTANT1.getVal() != 1)
throw new RuntimeException("fail");
}
}