☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
Wc90-c99-compat-11.c
☽
☼
gcc/testsuite/gcc.dg/Wc90-c99-compat-11.c
code
plain
raw
1
/* PR c/85318 */
2
/* { dg-do compile } */
3
/* { dg-options "-std=gnu11 -Wc90-c99-compat -Wno-pedantic" } */
4
5
extern void bar (int);
6
7
void
8
foo (int n)
9
{
10
for (int i = 0; i < n; i++) /* { dg-warning "ISO C90 does not support .for. loop" } */
11
bar (i);
12
}