From 0ecb606cb6cf65de1d9fc8a919bceb4be476c602 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 12 Jul 2007 18:26:36 +0000 Subject: 2.5-18.1 --- elf/order2mod4.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 elf/order2mod4.c (limited to 'elf/order2mod4.c') diff --git a/elf/order2mod4.c b/elf/order2mod4.c new file mode 100644 index 0000000..4f2026f --- /dev/null +++ b/elf/order2mod4.c @@ -0,0 +1,16 @@ +#include + +extern int bar (void); + +int +foo (void) +{ + return 42 + bar (); +} + +static void +__attribute__ ((destructor)) +fini (void) +{ + putchar ('3'); +} -- cgit v1.1