aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/reread1.c
blob: 5d1166a7258c3433950165fbfe4e29dd025175e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* pr 13484 */

#include <stdio.h>

int x;

void bar()
{
  x--;
}

void foo()
{
  x++;
}

int main()
{
  foo();
  bar();
  return 0;
}