mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 02:03:35 +08:00
fcacb36a0c
* elf/Makefile (tests): Add filter. Add rules to generate filter. * elf/filter.c: New file. * elf/filtmod1.c: New file. * elf/filtmod2.c: New file.
15 lines
197 B
C
15 lines
197 B
C
#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");
|
|
}
|