handle const pointers to functions

This commit is contained in:
Paweł Tomulik 2016-03-23 16:11:15 +01:00
commit 350d43d988
6 changed files with 9 additions and 2 deletions

View file

@ -6,3 +6,5 @@ if call2(ADD_BY_POINTER, 12, 13) != 25:
raise RuntimeError
if call3(ADD_BY_REFERENCE, 14, 15) != 29:
raise RuntimeError
if call1(ADD_BY_VALUE_C, 2, 3) != 5:
raise RuntimeError