mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 22:30:07 +00:00
472d82fc06
* dlfcn/Makefile: Add rules to build and run bug-dlopen1. * dlfcn/bug-dlopen1.c: New file. By Bruno Haible.
13 lines
336 B
C
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;
|
|
}
|