@Test
public void testUnsupportedInitializerList() throws Exception {

  // Change this test to check for support if it is eventually introduced.
  try {
    ParseHelper.parse("#version 440\n"
        + "\n"
        + "void main() {\n"
        + "\n"
        + "  int A[4] = { 1, 2, 3, 4 };\n"
        + "\n"
        + "}\n");
    fail("Exception was expected");
  } catch (UnsupportedLanguageFeatureException exception) {
    assertTrue(exception.getMessage().contains("Initializer lists are not currently supported"));
  }
}