1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/* bug 1750318 */ #include <testfwk.h> __xdata __at(0x1234) char bar; // no need to call this, it generates compiler error: // Internal error: validateOpType failed in // OP_SYMBOL(IC_RESULT (ic)) @ SDCCcse.c:2172: // expected symbol, got value void foo (void) { *(char volatile __xdata *) &bar = 0x80; } void testBug (void) { ASSERT (1); }