about summary refs log tree commit diff homepage
path: root/test/Runtime/Uclibc/2008-03-04-libc-atexit-uses-dso-handle.c
blob: 3b66dd21edd9bb42d067beff7bc9885843b69f7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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

void boo() {
}

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