Test cases
- Added pointer arithmetic in the form of `*(ptr+0)` to `simple_pointer.t` to start testing it out
This commit is contained in:
parent
8490f3d7fd
commit
f43cfb2b9d
|
@ -4,7 +4,7 @@ int j;
|
|||
|
||||
int function(int* ptr)
|
||||
{
|
||||
*ptr = 2+2;
|
||||
*(ptr+0) = 2+2;
|
||||
return (*ptr)+1*2;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue