Index: gdb/testsuite/gdb.linespec/base/two/thefile.cc |
diff --git a/gdb/testsuite/gdb.linespec/base/two/thefile.cc b/gdb/testsuite/gdb.linespec/base/two/thefile.cc |
index ffca87a4e8752874d0a8d735d19c077049604c95..88188a5e0d124303c5bd9fef3d117e60e38af905 100644 |
--- a/gdb/testsuite/gdb.linespec/base/two/thefile.cc |
+++ b/gdb/testsuite/gdb.linespec/base/two/thefile.cc |
@@ -9,9 +9,15 @@ static int dupname(int y) |
label: return y; |
} |
+static int twodup () |
+{ |
+ return 0; |
+} |
+ |
int n(int y) |
{ |
- return dupname(y) - 23; /* thefile breakpoint */ |
+ int v = dupname(y) - 23; /* thefile breakpoint */ |
+ return v + twodup (); /* after dupname */ |
} |
int NameSpace::overload(double x) |