summaryrefslogtreecommitdiff
path: root/modules/ignore-value-tests
Commit message (Collapse)AuthorAgeFilesLines
* ignore-value tests: Use module 'attribute'.Bruno Haible2020-05-081-0/+1
| | | | | | | * m4/gnulib-common.m4 (gl_COMMON_BODY): Fix a typo. * tests/test-ignore-value.c: Include attribute.h. (_GL_ATTRIBUTE_RETURN_CHECK): Remove macro. Use NODISCARD instead. * modules/ignore-value-tests (Depends-on): Add attribute.
* ignore-value: add missing test dependencyEric Blake2011-01-311-0/+1
| | | | | | | | | | This reverts commit 13f769497814bf636c5d2a98f1b17cbf0d088be9. * tests/test-ignore-value.c: Revert previous change; stdio.h provides off_t. * modules/ignore-value-tests (Depends-on): Add missing dependency. Signed-off-by: Eric Blake <eblake@redhat.com>
* ignore-value: support aggregate typesEric Blake2011-01-061-0/+10
Also has the advantage of avoiding problems with gcc -Wbad-function-cast * lib/ignore-value.h (ignore_value): Provide separate gcc definition. * modules/ignore-value-tests: New test module. * tests/test-ignore-value.c: New test. Signed-off-by: Eric Blake <eblake@redhat.com>