aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers/vers2.c
blob: eda54cb0cf4eb27da7d9682b05572fed57ee9d48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Test function.  This is built into a shared library, and references a
 * versioned symbol foo that is in test.so.
 */
#include <stdio.h>

extern int show_foo ();

void
show_xyzzy()
{
  printf("%d", show_foo());
}