diff --git a/tests/test-init.c b/tests/test-init.c deleted file mode 100644 index e7353af2..00000000 --- a/tests/test-init.c +++ /dev/null @@ -1,36 +0,0 @@ -#include -#include -#include - -extern int backtrace (void **, int); - -static void -b (void) -{ - void *v[20]; - int i, n; - - n = backtrace(v, 20); - for (i = 0; i < n; ++i) - printf ("[%d] %p\n", i, v[i]); -} - -static void -a (void) -{ - b(); -} - -static void c (void) __attribute__((constructor)); - -static void -c (void) -{ - b(); -} - -int -main (int argc, char **argv) -{ - return atexit (a); -}