1 /* { dg-do compile } */ 2 /* { dg-options "-std=gnu99" } */ 3 /* { dg-require-effective-target alloca } */ 4 5 /* This used to crash as we did not preserve the correct type 6 for __SIZE_TYPE__. See PR22439. */ 7 foo(__SIZE_TYPE__ n)8char foo(__SIZE_TYPE__ n) 9 { 10 char c[1][n]; 11 return c[0][0]; 12 } 13