1 /* Test __auto_type. Test correct uses. */
3 /* { dg-options "" } */
4 /* { dg-require-effective-target alloca } */
6 extern void abort (void);
7 extern void exit (int);
11 __auto_type c
= (char) 1;
13 static __auto_type u
= 10U;
14 extern unsigned int u
;
15 const __auto_type ll
= 1LL;
16 extern const long long ll
;
21 if (i
!= 1 || c
!= 1 || u
!= 10U)
27 __auto_type p
= (int (*) [++i
]) 0;
30 if (sizeof (*p
) != 2 * sizeof (int))
33 int (*vp
)[u
] = &vla
[0];
34 __auto_type vpp
= ++vp
;