calloc-gnu tests: Avoid a test failure with clang.
commit1e972a8a37c153ddc15e604592f84f939eb3c2ad
authorBruno Haible <bruno@clisp.org>
Sat, 6 Jun 2020 08:14:24 +0000 (6 10:14 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 6 Jun 2020 08:16:09 +0000 (6 10:16 +0200)
treec7bcbca537c9f1c49238a46a4e1610ba179bf338
parent4f78c231f4d4b3c6631ab7ac6b98997800532898
calloc-gnu tests: Avoid a test failure with clang.

* tests/test-calloc-gnu.c (main): Mark the pointer variable as
'volatile', to defeat compiler optimizations.
ChangeLog
tests/test-calloc-gnu.c