summaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test83.c
blob: cf9f817fe2f1e49e437b09b9dcaee809f39ab63d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16


struct result {
	int a, b, c, d;
};

static struct result main(int a, int b, int c, int  d)
{
	struct result result;
	result.a = d + 1;
	result.b = c + 1;
	result.c = b + 1;
	result.d = a + 1;

	return result;
}