blob: f1c50a923600ce596add7c7964761daa8b27184f [file] [log] [blame]
extern void abort(void);
extern void exit(int);
struct baz {
int a, b, c;
};
void
foo (int a, int b, int c)
{
if (a != 4)
abort ();
}
void
bar (struct baz x, int b, int c)
{
foo (x.b, b, c);
}
int
main ()
{
struct baz x = { 3, 4, 5 };
bar (x, 1, 2);
exit (0);
}