// Minimal compiler test for C compiler.
//
// This Test produces NO error/warning with a ANSI-C compiler (see also C-FAQs).

#include <stdio.h>

int
main (int argc, char **argv)
{
  int count = argc;

  int *to = NULL, *from = NULL;

  register int n = 0;

  if (!count)
    count = 1;

  n = (count + 7) / 8;          /* count > 0 assumed */
  switch (count % 8)
  {
    case 0:
      do
      {
        *to = *from++;
    case 7:
        *to = *from++;
    case 6:
        *to = *from++;
    case 5:
        *to = *from++;
    case 4:
        *to = *from++;
    case 3:
        *to = *from++;
    case 2:
        *to = *from++;
    case 1:
        *to = *from++;
      }
      while (--n > 0);
  }

  return 0;
}
