From ac33828db194ddd8dc112439cf0d1d935e4e1452 Mon Sep 17 00:00:00 2001 From: Filippo ARCIDIACONO Date: Mon, 23 Jan 2012 17:01:58 +0100 Subject: tests:libdl: add a new test for symbol scope issue in dlclose Test case to trigger an issue raised by the new symbol scope design, that was erroneously removing local symbol scope from the global one too early while dl-closing a shared library. Based on original test-case by Khem Raj Signed-off-by: Filippo Arcidiacono Signed-off-by: Carmelo Amoroso Reported-by: Khem Raj --- test/dlopen/libA.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/dlopen/libA.c (limited to 'test/dlopen/libA.c') diff --git a/test/dlopen/libA.c b/test/dlopen/libA.c new file mode 100644 index 000000000..13b83dcec --- /dev/null +++ b/test/dlopen/libA.c @@ -0,0 +1,7 @@ +extern void libB_func(void); + +void libA_func(void); +void libA_func(void) +{ + libB_func(); +} -- cgit v1.2.3