Initial version.

From-SVN: r38628
This commit is contained in:
Chandra Chavva 2001-01-02 11:37:39 -05:00
parent d07bec9503
commit bd86a96456

View File

@ -0,0 +1,32 @@
typedef struct {
char y;
char x[32];
} X;
int z (void)
{
X xxx;
xxx.x[0] =
xxx.x[31] = '0';
xxx.y = 0xf;
return f (xxx, xxx);
}
int main (void)
{
int val;
val = z ();
if (val != 0x60)
abort ();
exit (0);
}
int f(X x, X y)
{
if (x.y != y.y)
return 'F';
return x.x[0] + y.x[0];
}