cppcheck/samples/arrayIndexOutOfBounds/good.c

10 lines
82 B
C

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