summaryrefslogtreecommitdiff
path: root/gcc/testsuite/objc/execute/nested-2.m
blob: 0c67ec14778dd729d515d65b501ce16c228cf6a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* Contributed by Nicola Pero Mon Mar  5 19:57:11 CET 2001 */

int main (void)
{
  inline int nested (void)
    {
      return 1;
    }

  if (nested () != 1)
    {
      exit (1);
    }

  return 0;
}