import string;

// THIS-TEST-SHOULD-NOT-RUN
// Regression test for array lookup not failing correctly

main {
  string toks[];

  toks = split("a,b,c", ",");

  trace(toks[3]); // Doesn't exist, so we should get nice error
}

Add regression test for array lookup error
Add regression test for array lookup error

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