aboutsummaryrefslogtreecommitdiff
path: root/elf/reldep8mod1.c
blob: 61d8c0edb0c2667e8ca53e11c1a878b5b0b402a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdlib.h>
void
foo (void)
{
  exit (0);
}

void
__attribute__((destructor))
bar (void)
{
  foo ();
}
void
baz (void)
{
}