// Minimal compiler test for C compiler.
//
// Semantic mistakes like these are common enough that any compiler MUST produce warnings
// like those in the comments if it is to be used for more than "hello, world".

int
main (void)
{
  int a[10];
  int i = 0;

  a[i] = i++;                   // warning: operation on i may be undefined // you can also use ++i
  return 0;
}
