aboutsummaryrefslogtreecommitdiff
blob: 46fa84b122249e51349f283f01aa1abf6e402e2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Simple program to help exercise gdb's convenience variables.  */

typedef void *ptr;

ptr p = &p;

void
foo_void (void)
{
}

int
foo_int (void)
{
  return 0;
}

int
main ()
{
  p = &p;
  return 0;
}