glibc/dlfcn/bug-dlopen1.c
Ulrich Drepper 472d82fc06 Update.
* dlfcn/Makefile: Add rules to build and run bug-dlopen1.
	* dlfcn/bug-dlopen1.c: New file.  By Bruno Haible.
2002-02-06 00:28:46 +00:00

13 lines
336 B
C

/* Test case by Bruno Haible. It test whether the dynamic string
token expansion can handle $ signs which do not start one of the
recognized keywords. */
#include <dlfcn.h>
int main (void)
{
dlopen ("gnu-gettext-GetURL$1", RTLD_GLOBAL | RTLD_LAZY);
dlopen ("gnu-gettext-GetURL${1", RTLD_GLOBAL | RTLD_LAZY);
return 0;
}