1 extern int a[1];
2 
foo(int n)3 static int foo(int n)
4 {
5 	int i = 0;
6 	int (*p)[1] = (typeof(++i, (int (*)[n])a)) &a;
7 
8 	(void) p;
9 
10 	return i;
11 }
12 
13 /*
14  * check-name: eval-typeof-vla
15  * check-command: test-linearize -Wno-vla $file
16  * check-known-to-fail
17  *
18  * check-output-start
19 foo:
20 .L0:
21 	<entry-point>
22 	ret.32      $1
23 
24 
25  * check-output-end
26  */
27