blob: 98db917428fd19a459c1fd08240190bc31805db4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
int f (int a, int b) { }
main ()
{
unsigned long addr1;
unsigned long addr2;
addr1 = (unsigned long) &f;
addr1 += 5;
addr2 = 5 + (unsigned long) &f;
if (addr1 != addr2)
abort ();
exit (0);
}
|