summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/nested-2.c
blob: 6e61b323b6ff05546c8a39c03e296c19cbdc3a86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* PR 21105 */

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

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

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