Debian Codegraph @

gcc/testsuite/gcc.dg/c23-auto-4.c

raw
1 /* Test C23 auto. -Wc11-c23-compat warning. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c23 -pedantic-errors -Wc11-c23-compat" } */
4
5 auto x = 2; /* { dg-warning "ISO C does not support 'auto' type deduction before" } */