nested-2.c   [plain text]


/* APPLE LOCAL testsuite nested functions */
/* { dg-options "-fnested-functions" } */
/* PR 21105 */

void
CheckFile ()
{
  char tagname[10];
  char *a = tagname;

  int validate ()
  {
    return (a == tagname + 4);
  }

  if (a == tagname)
    validate ();
}