mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-12 13:29:29 +00:00
15 lines
180 B
C
15 lines
180 B
C
char *
|
|
f (char *s, unsigned int i)
|
|
{
|
|
return &s[i + 3 - 1];
|
|
}
|
|
|
|
main ()
|
|
{
|
|
char *str = "abcdefghijkl";
|
|
char *x2 = f (str, 12);
|
|
if (str + 14 != x2)
|
|
abort ();
|
|
exit (0);
|
|
}
|