source: trunk/binutils/ld/testsuite/ld-elfvers/vers2.c

Last change on this file was 10, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 219 bytes
Line 
1/*
2 * Test function. This is built into a shared library, and references a
3 * versioned symbol foo that is in test.so.
4 */
5#include <stdio.h>
6
7extern int show_foo ();
8
9void
10show_xyzzy()
11{
12 printf("%d", show_foo());
13}
Note: See TracBrowser for help on using the repository browser.