summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.hp/gdb.objdbg/objdbg02/x2.cc
blob: 627f02d2bafd0e010a9e9677b4b9a5ac2847cbbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>

struct foo_type {
  int t1;
  int t2;
};

static void foo2()
{
  printf("In foo2.\n");
}

void foo1()
{
  printf("In foo1.\n");
  foo2();
}