summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20101010-1.c
blob: 8d74bbf5a1d987676b5509434f2b7e3244f127a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-O2 -fno-crossjumping" } */

int foo (void)
{
  int len;
  if (bar1 (&len))
    {
      char devpath [len];
      if (bar2 (devpath) == len)
        return len;
    }
  return -1;
}