diff --git a/tests/regress/ensure_typedef_consts_generated.py b/tests/regress/ensure_typedef_consts_generated.py new file mode 100644 index 00000000..5c5adf46 --- /dev/null +++ b/tests/regress/ensure_typedef_consts_generated.py @@ -0,0 +1,6 @@ +import unicorn + +try: + unicorn.UC_HOOK_MEM_UNMAPPED +except AttributeError: + assert(False and "Definition for UC_HOOK_MEM_UNMAPPED not generated")