Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b580c1aeca
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (19 sloc) 0.263 kB
#include <stdio.h>
#include <stdlib.h>
#include "stacktrace.hpp"
void g()
{
Teuchos::show_stacktrace();
}
void f()
{
g();
}
int main()
{
f();
Teuchos::print_stack_on_segfault();
// This will segfault:
char *p; *p=0;
return 0;
}
Jump to Line
Something went wrong with that request. Please try again.