aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/test/sigsegv/main.c
blob: 428d1684fc2613422db48b8545f7e645b182f182 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                  
#include "lib.h"

#include <stdio.h>

int main(void)
{
	puts("Started the test program.");
	fflush(stdout);

	printf("This will crash: %d.\n", data->x);

	puts("You shouldn't see this.");
	fflush(stdout);

	return 0;
}