toxcore/auto_tests/tox_new_test.c
iphydf a05dccad13
test: Add a simple new/delete test for Tox.
This can be used for some static analysis that doesn't currently survive
a full iterate loop, but can possibly survive a new+kill.
2024-01-24 08:58:03 +00:00

9 lines
136 B
C

#include "../toxcore/tox.h"
#include "../toxcore/ccompat.h"
int main(void) {
tox_kill(tox_new(nullptr, nullptr));
return 0;
}