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
Require target lra in gcc.dg/pr108095.c
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr59827.c
blob
77e1e9ca20607143093826f9da9206dd41b8034d
1
/* PR middle-end/59827 */
2
/* { dg-do compile } */
3
4
int
5
foo
(
int
p
[
2
][])
/* { dg-error "array type has incomplete element type" } */
6
{
7
return
p
[
0
][
0
];
8
}
9
10
void
11
bar
(
void
)
12
{
13
int
p
[
2
][
1
];
14
foo
(
p
);
/* { dg-error "type of formal parameter 1 is incomplete" } */
15
}