Add C "contract" test

Tests that the `%contract` code (viz., each target language's
implementation of SWIG_contract_assert) compiles in C as expected. Update
the note in the source code since `%contract` is in the official
documentation.
This commit is contained in:
Seth R Johnson 2022-02-12 18:13:20 -05:00
commit fb0cddfd2b
4 changed files with 9 additions and 2 deletions

View file

@ -695,6 +695,7 @@ C_TEST_CASES += \
command_line_define \
const_const \
constant_expr_c \
contract_c \
default_args_c \
empty_c \
enums \