@Test
public void testDoNotRemoveParamIfOverloaded() throws Exception {

  final String shader = "float foo(int a, float b) {"
      + "  return float(a);"
      + "}"
      + "void foo(int a) {"
      + "}"
      + "void main() {"
      + "  foo(2, 3.0);"
      + "  foo(2);"
      + "}";
  final TranslationUnit tu = ParseHelper.parse(shader);
  List<RemoveUnusedParameterReductionOpportunity> opportunities =
      findOpportunities(tu, true);
  assertEquals(0, opportunities.size());
}