summaryrefslogtreecommitdiff
path: root/support/regression/tests/bug-880197.c
blob: 89e1d91af276cdae288faf5c40c7b9aadcbd4ba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
    bug 880197
*/

#include <testfwk.h>

// no need to call this, it generates compiler error:
//   error: FATAL Compiler Internal Error in file 'gen.c'
//   line number '8381' : genPointerSet: illegal pointer type
//   Contact Author with source code

void
writeflash (__code unsigned char *cp, unsigned char val)
{
  *(__xdata unsigned char *)cp = val;
}

void
testBug (void)
{
}