Test program for DT_FILTER handling.
authordrepper <drepper>
Fri, 21 Jul 2000 06:57:20 +0000 (06:57 +0000)
committerdrepper <drepper>
Fri, 21 Jul 2000 06:57:20 +0000 (06:57 +0000)
elf/filter.c [new file with mode: 0644]

diff --git a/elf/filter.c b/elf/filter.c
new file mode 100644 (file)
index 0000000..76bc91a
--- /dev/null
@@ -0,0 +1,14 @@
+#include <stdio.h>
+#include <string.h>
+
+extern const char *foo (void);
+
+int
+main (void)
+{
+  const char *s = foo ();
+
+  printf ("called `foo' from `%s'\n", s);
+
+  return strcmp (s, "filtmod2.c");
+}