From 193af754dc157708224817fb8ff8914f2fc5e6e1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 18 Mar 2005 10:54:53 +0000 Subject: Test cases for correct unloading. --- elf/unload4mod4.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 elf/unload4mod4.c (limited to 'elf/unload4mod4.c') diff --git a/elf/unload4mod4.c b/elf/unload4mod4.c new file mode 100644 index 0000000000..ba5a144d38 --- /dev/null +++ b/elf/unload4mod4.c @@ -0,0 +1,16 @@ +#include +#include + +int +__attribute__((noinline)) +baz (int x) +{ + abort (); +} + +int +bar (int x) +{ + puts ("in bar"); + return baz (x + 1) + 2; +} -- cgit v1.2.3