cppcheck/test/cli/helloworld/main.c

12 lines
152 B
C
Raw Normal View History

2019-04-14 10:45:20 +02:00
#include <stdio.h>
int main(void) {
(void)printf("Hello world!\n");
2019-04-14 10:45:20 +02:00
x = 3 / 0; // ERROR
return 0;
}
#ifdef SOME_CONFIG
void foo();
#endif