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

#include <testfwk.h>

int i;

int f(void)
{
	i = 1;
}

void
testConst(void)
{
	f() - f();
	ASSERT(i);
}