libcruft-util/test/backtrace.cpp

21 lines
316 B
C++
Raw Normal View History

2015-04-13 16:45:56 +10:00
#include "backtrace.hpp"
#include "tap.hpp"
#include "stream.hpp"
2011-07-06 19:39:22 +10:00
#include <iostream>
#include <cstdlib>
using namespace std;
int
main (int, char **) {
2015-04-13 16:45:56 +10:00
util::TAP::logger tap;
util::stream::null out;
out << debug::backtrace() << endl;
tap.noop ();
2011-07-06 19:39:22 +10:00
return EXIT_SUCCESS;
}