xref: /netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.linespec/base/one/thefile.cc (revision d909946ca08dceb44d7d0f22ec9488679695d976)
1 /* The commented line must have the same line number in the other
2    "thefile.c".  */
3 
4 #define WANT_F1
5 #include "../../lspec.h"
6 
7 
8 
9 
10 
11 
12 static int twodup ()
13 {
14   return 0;
15 }
16 
17 int m(int x)
18 {
19   return x + 23 + twodup ();	/* thefile breakpoint */
20 }
21 
22 int NameSpace::overload(int x)
23 {
24   return x + 23;
25 }
26