Test for bug 452780 - Internal compiler error: arrayIndexOutOfBounds