@Test
public void testUnsupportedArrayInBaseType() throws Exception {

  // Change this test to check for support if it is eventually introduced.
  try {
    ParseHelper.parse("void main() {\n"
        + "  int[2] A, B[3];\n"
        + "  B[2][1] = 3;\n"
        + "}\n");
    fail("Exception was expected");
  } catch (UnsupportedLanguageFeatureException exception) {
    assertTrue(exception.getMessage().contains("Array information specified at the base type"));
  }
}