libcruft-util/test/backtrace.cpp

21 lines
418 B
C++

#include <cruft/util/backtrace.hpp>
#include <cruft/util/tap.hpp>
#include <cruft/util/stream.hpp>
#include <cstdlib>
///////////////////////////////////////////////////////////////////////////////
int
main (int, char **) {
cruft::TAP::logger tap;
// Instantiate a backtrace just so we know that linking has worked.
::cruft::backtrace foo;
(void)foo;
tap.noop ();
return tap.status ();
}