cppcheck/test/cli/helloworld/main.c

12 lines
148 B
C

#include <stdio.h>
int main() {
(void)printf("Hello world!\n");
x = 3 / 0; // ERROR
return 0;
}
#ifdef SOME_CONFIG
void foo();
#endif