blob: 31f695442f57973b14576b9eff92c5e3b72193bb [file] [log] [blame]
sub1 (i)
int i;
{
return i - (5 - i);
}
sub2 (i)
int i;
{
return i + (5 + i);
}
sub3 (i)
int i;
{
return i - (5 + i);
}
sub4 (i)
int i;
{
return i + (5 - i);
}
main()
{
if (sub1 (20) != 35)
abort ();
if (sub2 (20) != 45)
abort ();
if (sub3 (20) != -5)
abort ();
if (sub4 (20) != 5)
abort ();
exit (0);
}