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

#include <testfwk.h>

__xdata char baz;

// no need to call this, it generates compiler error:
//   Internal error: validateOpType failed in
//   OP_SYM_TYPE(IC_LEFT(pl->ic)) @ peep.c:226:
//   expected symbol, got value
void
foo(void)
{
  baz |= 5;
  (*(void (*) ()) 0) ();
}

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