Fix gdb.base/completion.exp with --target_board=dwarf4-gdb-index
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.linespec / base / two / thefile.cc
CommitLineData
f8eba3c6
TT
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
7static int dupname(int y)
8{
9 label: return y;
10}
11
33f448b1
JK
12static int twodup ()
13{
14 return 0;
15}
16
f8eba3c6
TT
17int n(int y)
18{
85817405 19 int v = dupname(y) - 23; /* thefile breakpoint */
33f448b1 20 return v + twodup (); /* after dupname */
f8eba3c6
TT
21}
22
23int NameSpace::overload(double x)
24{
25 return (int) x - 23;
26}
8f14146e
PA
27
28int z2 ()
29{
30 return 0;
31}
This page took 0.614924 seconds and 4 git commands to generate.