the "ambiguous linespec" series
[external/binutils.git] / gdb / testsuite / gdb.linespec / lspec.cc
1 #include "lspec.h"
2
3 static int dupname (int x) { label: return x; }
4
5 int NameSpace::overload()
6 {
7   return 23;
8 }
9
10 int body_elsewhere()
11 {
12   int x = 5;
13 #include "body.h"
14 }
15
16 int main()
17 {
18   return dupname(0) + m(0) + n(0) + f1() + f2() + body_elsewhere();
19 }