@Test
public void testUnsupportedMethodCall3() throws Exception {

  // Change this test to check for support if it is eventually introduced.
  try {
    ParseHelper.parse("#version 320 es\n"
        + "\n"
        + "precision highp float;\n"
        + "\n"
        + "struct S { int A[4]; };\n"
        + "\n"
        + "void main() {\n"
        + "\n"
        + "  S s = S(int[4](1,2,3,4));\n"
        + "  s.A.length();\n"
        + "\n"
        + "}\n");
    fail("Exception was expected");
  } catch (UnsupportedLanguageFeatureException exception) {
    assertTrue(exception.getMessage().contains("Method calls are not currently supported"));
  }
}