aboutsummaryrefslogtreecommitdiff
path: root/elf/preloadtest.c
blob: ac27f6715065460c8456a2552cfcb8d834760185 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdio.h>

extern int preload (int);

int
main (void)
{
  int res = preload (42);

  printf ("preload (42) = %d, %s\n", res, res == 92 ? "ok" : "wrong");

  return res != 92;
}

int
foo (int a)
{
  return a;
}