gdb/
[external/binutils.git] / gdb / testsuite / gdb.linespec / base / two / thefile.cc
1 /* The commented line must have the same line number in the other
2    "thefile.c".  */
3
4 #define WANT_F2
5 #include "../../lspec.h"
6
7 static int dupname(int y)
8 {
9  label: return y;
10 }
11
12 int n(int y)
13 {
14   int v = dupname(y) - 23;      /* thefile breakpoint */
15   return v;                     /* after dupname */
16 }
17
18 int NameSpace::overload(double x)
19 {
20   return (int) x - 23;
21 }