source: Deliverables/D3.1/C-semantics/test/pdata1.c @ 405

Last change on this file since 405 was 156, checked in by campbell, 9 years ago

pdata support

File size: 172 bytes
Line 
1/* Everything in pdata is in xdata, so pointers can be converted. */
2
3__pdata int i;
4
5int main(void) {
6  __pdata int *p = &i;
7  __xdata int *q = p;
8  *q = 5;
9  return i;
10}
Note: See TracBrowser for help on using the repository browser.