summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.linespec/base/two/thefile.cc
blob: ffca87a4e8752874d0a8d735d19c077049604c95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* The commented line must have the same line number in the other
   "thefile.c".  */

#define WANT_F2
#include "../../lspec.h"

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

int n(int y)
{
  return dupname(y) - 23;	/* thefile breakpoint */
}

int NameSpace::overload(double x)
{
  return (int) x - 23;
}