cppcheck/samples/arrayIndexOutOfBounds/good.c

9 lines
88 B
C

int main()
{
int a[3];
a[0] = 0;
a[1] = 0;
a[2] = 0;
return a[0];
}