cppcheck/test/cli/trac5704/trac5704a.c

12 lines
179 B
C
Raw Normal View History

#include <stdio.h>
int main(int argc, char *argv[])
{
#ifdef INCLUDE_ZERO_DIV
// cppcheck-suppress zerodiv
int i = 1/0;
printf("i = %d\n", i);
#endif
return 0;
}