mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
17 lines
213 B
C++
17 lines
213 B
C++
/* 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);
|
|
}
|