1 /* Test C23 auto. Valid code, execution tests. Based on auto-type-1.c. */
3 /* { dg-options "-std=c23 -pedantic-errors" } */
4 /* { dg-require-effective-target alloca } */
6 extern void abort (void);
7 extern void exit (int);
14 extern unsigned int u
;
16 extern const long long ll
;
21 if (i
!= 1 || c
!= 1 || u
!= 10U)
27 auto p
= (int (*) [++i
]) 0;
30 if (sizeof (*p
) != 2 * sizeof (int))
33 int (*vp
)[u
] = &vla
[0];