diff options
Diffstat (limited to 'elf/tst-nodelete-opened.c')
-rw-r--r-- | elf/tst-nodelete-opened.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/tst-nodelete-opened.c b/elf/tst-nodelete-opened.c index 43b00fa16d..501d005f81 100644 --- a/elf/tst-nodelete-opened.c +++ b/elf/tst-nodelete-opened.c @@ -58,6 +58,8 @@ do_test (void) return 1; } + /* This FOO dereference will crash with a segfault if the DSO was + unloaded. */ printf ("foo == %d\n", *foo); return 0; |