about summary refs log tree commit diff homepage
path: root/test/Runtime/Uclibc/2008-03-04-libc-atexit-uses-dso-handle.c
blob: 26bb1dcec9daab6bbb4a37d6e7e798a94f4d550e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %clang %s -emit-llvm %O0opt -c -o %t1.bc
// RUN: rm -rf %t.klee-out
// RUN: %klee --output-dir=%t.klee-out --exit-on-error --libc=uclibc %t1.bc

// just make sure atexit works ok
#include <stdlib.h>

void boo() {
}

int main() {
  atexit(boo);
  return 0;
}