about summary refs log tree commit diff homepage
path: root/test/Runtime/Uclibc/2008-03-04-libc-atexit-uses-dso-handle.c
blob: 686bec19f9899f1762f993d1091b0fb93c486d9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t1.bc
// RUN: %klee --exit-on-error --libc=uclibc %t1.bc

// just make sure atexit works ok

void boo() {
}

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