summaryrefslogtreecommitdiff
path: root/dlfcn/bug-atexit2-lib.c
blob: ca39657566970e50db1410c2caaaa5b12bb67cb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>
#include <stdlib.h>

void
fx (void)
{
  puts ("At exit fx");
}

void
foo (void)
{
  atexit (fx);
}