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