aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.linespec/lspec.cc
blob: bb660fbc79ee6b73483755976951823fc8ca4db2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "lspec.h"

static int dupname (int x) { label: return x; }

int NameSpace::overload()
{
  return 23;
}

int body_elsewhere()
{
  int x = 5;	/* body_elsewhere marker */
#include "body.h"
}

int main()
{
  return dupname(0) + m(0) + n(0) + f1() + f2() + body_elsewhere();
}