summaryrefslogtreecommitdiff
path: root/support/regression/tests/bug1888147.c
blob: a9673a919a420e941fdbc7a9e7de736b93581add (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
    bug 1888147
*/

#include <testfwk.h>

// no need to call this, it generates compiler error:
//   Caught signal 11: SIGSEGV
int foo(int n)
{
	int i = 0;

	if (i!=0)
		return n;
	return 0;
}

void
testBug(void)
{
	ASSERT(1);
}