summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/991127-1.c
blob: 86098d883a51c6c7d5e99475d97b661a63732b0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
extern void foo (int *);

static void bar (char *buf)
{
    int a;
    foo (&a);
    while (a > 0) {
	*buf++ = '0';
	a--;
    }
}