blob: 01cc879c34a6606bd632b2a0d35da2fe7fb28aa0 [file] [log] [blame]
extern void abort(void);
extern void exit(int);
int *c;
void bar(int b)
{
if (*c != 1 || b != 2)
abort();
}
void foo(int a, int b)
{
c = &a;
bar(b);
}
int main()
{
foo(1, 2);
exit(0);
}