source: src/Clight/test/implicit.c

Last change on this file was 2568, checked in by campbell, 7 years ago

Relax some Clight type checks to Cminor type checks to avoid array/pointer
confusion. Drop a dead function.

File size: 104 bytes
Line 
1int main(void) {
2  int arr[5];
3  int *p = arr;
4  p++;
5  arr[0] = 3;
6  arr[1] = 7;
7  return *p + *arr;
8}
Note: See TracBrowser for help on using the repository browser.