Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20101010-1.c
blob2067012ebcdabb539ebeddd41ba9c0abf7ec4088
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-crossjumping" } */
3 /* { dg-require-effective-target alloca } */
5 int bar1 ();
6 int bar2 ();
8 int foo (void)
10 int len;
11 if (bar1 (&len))
13 char devpath [len];
14 if (bar2 (devpath) == len)
15 return len;
17 return -1;