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

extern const char *foo (void);

int
main (void)
{
  const char *s;

  mtrace ();

  s = foo ();

  printf ("called `foo' from `%s'\n", s);

  return strcmp (s, "filtmod2.c");
}