921e5a0eb4
From-SVN: r14840
37 lines
311 B
C
37 lines
311 B
C
long val = 0x5e000000;
|
|
|
|
long
|
|
f1 (void)
|
|
{
|
|
return 0x132;
|
|
}
|
|
|
|
long
|
|
f2 (void)
|
|
{
|
|
return 0x5e000000;
|
|
}
|
|
|
|
void
|
|
f3 (long b)
|
|
{
|
|
val = b;
|
|
}
|
|
|
|
void
|
|
f4 ()
|
|
{
|
|
long v = f1 ();
|
|
long o = f2 ();
|
|
v = (v & 0x00ffffff) | (o & 0xff000000);
|
|
f3 (v);
|
|
}
|
|
|
|
main ()
|
|
{
|
|
f4 ();
|
|
if (val != 0x5e000132)
|
|
abort ();
|
|
exit (0);
|
|
}
|