summaryrefslogtreecommitdiff
path: root/support/regression/tests/bug2938110.c
blob: a500d3f6d0695dd9485dd7baafe93d538d2c6dde (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
/*
   bug2938110.c
 */

#include <testfwk.h>

// no need to call this, it generates compiler error:
//   Internal error: validateOpType failed in
//   OP_SYMBOL(IC_LEFT(ic)) @ src/ds390/ralloc.c:2660:
//   expected symbol, got value
int
foo (int b)
{
	int a = 10;
	a += b;
	return a;
}

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