aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.linespec/lspec.cc
blob: b1092e22d7545fb62dfedcb15e3681043f7111de (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;
#include "body.h"
}

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