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
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
Warray-parameter-10.c
blob
378f8afbd34087c404c0006d7c9b26a5f3389aed
1
/* PR c/102759 - ICE calling a function taking an argument redeclared
2
without a prototype.
3
{ dg-do compile }
4
{ dg-options "-Wall" } */
5
6
void
f
(
void
)
7
{
8
void
gia
(
int
[
2
]);
9
void
g
();
10
}
11
12
/* Redeclaring the g(int[]) above without a prototype loses it. */
13
void
gia
();
14
void
g
(
int
[
2
]);
15
16
void
h
(
void
)
17
{
18
gia
(
gia
);
19
gia
(
g
);
20
}