Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / typename-vla-2.c
blob24d3db8f58b24429da2050a1df463034e8e71573
1 /* { dg-do run }
2 * { dg-options "-std=c99" }
3 * */
6 static char tmp[2];
8 static int f(int n, char (*x)[sizeof (*(++n, (char (*)[n])&tmp))])
10 return sizeof *x;
13 int main (void)
15 if (2 != f(1, &tmp))
16 __builtin_abort ();
17 return 0;