root/tools/regression/pthread/unwind/main_thread_exit.cpp
/* check unwinding for main thread */

#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>

#include "Test.cpp"

int
main()
{
        Test test;

        atexit(check_destruct);
        pthread_exit((void *)1);
        return (0);
}