summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr32920.c
blob: c9b627b12dc87d273f6955efee0eba1230c48c6a (plain)
1
2
3
4
5
6
7
int a;
void
foo(void)
{
  char buf[10];
  a = a < sizeof(buf) ? a : sizeof (buf);
}