Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / c-c++-common / Wunused-var-6.c
blob12a7dddc00db82c54f9b57669b3b5d8958fd104f
1 /* PR c/43981 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wunused" } */
4 /* { dg-require-effective-target alloca } */
6 void g (char *);
8 char
9 f (int a)
11 int len = a * 3;
12 char t[len];
14 g (t);
15 return t[0];