☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
c23-auto-4.c
☽
☼
gcc/testsuite/gcc.dg/c23-auto-4.c
code
plain
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" } */