blob: 1f40b665b46ecfd02d402e747c224407932eb90a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* This test checks to make sure that LLI and the JIT both implement at_exit
* handlers correctly.
*/
#include <stdlib.h>
#include <stdio.h>
static void foo() {
printf("Exiting!\n");
}
int main() {
atexit(foo);
printf("in main\n");
return 0;
}
|