repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Wc90-c99-compat-9.c
blob
8bd996c8c257f5c40dc5e1649333009a5cd23f8e
1
/* PR c/85318 */
2
/* { dg-do compile } */
3
/* { dg-options "-std=gnu99 -Wc90-c99-compat -pedantic-errors" } */
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
}