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:
Tristan B. Velloza Kildaire 2023-04-12 08:36:48 +02:00
parent 8490f3d7fd
commit f43cfb2b9d
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ int j;
int function(int* ptr)
{
*ptr = 2+2;
*(ptr+0) = 2+2;
return (*ptr)+1*2;
}