about summary refs log tree commit diff
path: root/REORG.TODO/dlfcn/bug-dlopen1.c
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/dlfcn/bug-dlopen1.c')
-rw-r--r--REORG.TODO/dlfcn/bug-dlopen1.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/REORG.TODO/dlfcn/bug-dlopen1.c b/REORG.TODO/dlfcn/bug-dlopen1.c
new file mode 100644
index 0000000000..d91810a4f0
--- /dev/null
+++ b/REORG.TODO/dlfcn/bug-dlopen1.c
@@ -0,0 +1,12 @@
+/* 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;
+}