source: src/Clight/test/pdata2.c @ 779

Last change on this file since 779 was 156, checked in by campbell, 10 years ago

pdata support

File size: 158 bytes
Line 
1/* Values in xdata can't be assumed to be in pdata. */
2
3__xdata int i;
4
5int main(void) {
6  __xdata int *p = &i;
7  __pdata int *q = p;
8  *q = 5;
9  return i;
10}
Note: See TracBrowser for help on using the repository browser.