blob: f959a9b7b26502733935ae2c54d9114bad5f976b (
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
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
bug3166208.c
*/
#include <testfwk.h>
// no need to call this, it generates compiler error:
// SDCCval.c:1073: expected SPECIFIER, got null-link
volatile char a;
void bug3166208(void)
{
if ((* (char __xdata *)0xDF53))
{
a = 2;
}
}
// no need to call this, it generates compiler error:
// SDCCloop.c:339: expected symbol, got value
unsigned char __data *p;
void bug3150679(void)
{
while(1)
{
*((unsigned char __data *)2) = *p;
}
}
void
testBug (void)
{
ASSERT (1);
}
|