aboutsummaryrefslogtreecommitdiff
path: root/third_party/backtrace-mingw/test.c
blob: 731129f1be354ac6836ef1508ec6bbcc376d139b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <windows.h>

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

static void
bar()
{
	foo();
}

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

	return 0;
}