1 /* Originally added to test SH constant pool layout. t1() failed for
2 non-PIC and t2() failed for PIC. */
4 int t1 (float *f
, int i
,
6 void (*f2
) (float, float))
13 int t2 (float *f
, int i
,
15 void (*f2
) (float, float),
30 void f2 (float f1
, float f2
)
32 if (f1
!= 2.5f
|| f2
!= 3.5f
)
44 float f
[3] = { 2.0f
, 3.0f
, 4.0f
};
46 t2 (f
, 1, f1
, f2
, f3
);
47 if (f
[0] != 3.0f
&& f
[1] != 4.0f
)