PR 17564: Fix objfile search order for static symbols.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / symtab-search-order.c
1 extern int shlib_1_func (void);
2
3 int
4 main ()
5 {
6 /* We need a reference to shlib_1_func to make sure its shlib is
7 not discarded from the link. This happens on windows. */
8 int x = shlib_1_func ();
9
10 return 0;
11 }
This page took 0.030322 seconds and 4 git commands to generate.