aboutsummaryrefslogblamecommitdiff
path: root/third_party/backtrace-mingw/test.c
blob: 731129f1be354ac6836ef1508ec6bbcc376d139b (plain) (tree)






















                                      
#include <windows.h>

static void
foo()
{
	int *f=NULL;
	*f = 0;
}

static void
bar()
{
	foo();
}

int
main()
{
	LoadLibraryA("backtrace.dll");
	bar();

	return 0;
}