Files
gcc-problem-matcher/test/generate_warnings.c
olemorud c041f1a38d add CI
2023-03-14 17:21:50 +01:00

20 lines
234 B
C

#include <limits.h>
int bad_code(float n) {
int small[3];
char index = 10;
int x = small[index];
double promoted = 3.14159 * n * n;
return bad_code(x);
}
int main() {
printf("%s %s", bad_code(1.0f));
}