aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr83448.c
blob: 9f0d9aca4ebe634390a347d108f4aaa27a31130a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR c/83448 */

char *a;
int b;

void
foo (void)
{
  for (;;)
    {
      if (b < 0)
	foo ();
      __builtin_snprintf (a, b, "%*s", b, "");
    }
}