Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 86875e5f16bea6b454c492e84ceda4db > files > 116

coccinelle-examples-0.2.3-0.rc6.3.fc14.x86_64.rpm

#include <stdio.h>

const int qqq = 20;

void foo() {
  int z[10];

  z[2] = 34;
}

int main() {
  int buf[qqq], foo[30];
  int i;

  for (i = 0; i <= 20; ++i) {
    buf[i] = i;
    foo[i] = i;
  }

  for (i = 0; i <= 20; ++i)
    printf("%d: %d\n", i, buf[i]);
}