import io;
import location;

main {
  location A[];
  foreach i in [1:10] {
    A[i] = random_worker();
  }

  foreach j in [1:10] {
    printf("%d: %d", j, A[j]);
  }
}

Add test for arrays of location
Add test for arrays of location

git-svn-id: 47705994653588c662f4ea400dfe88107361c0e2@8699 dc4e9af1-7f46-4ead-bba6-71afc04862de
