quakeforge/tools/qfcc/test/old/ptrderef.r
Bill Currie 49ca09a64f Clean up qfcc's test directory.
I don't remember what half these tests were for :/
2012-11-22 21:58:52 +09:00

18 lines
209 B
R

int y;
void
ptrderef (int *to, int *from)
{
int x;
x = *from;
x = *from++;
x = *++from;
x = ++*from;
to = from++;
to = ++from;
*to = *from++;
*to = *++from;
*to = x;
*to++ = *from++;
y = *to++;
}