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
* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr71362.c
blob
fd9cd6a20d65b35ee942fd05eb33b4ea212a87ad
1
/* PR c/71362 */
2
/* { dg-do compile } */
3
4
extern
void
foo
(
int
[-
1
]);
/* { dg-error "21:size of unnamed array is negative" } */
5
6
int
7
bar
(
void
)
8
{
9
123
+
sizeof
(
int
[-
1
]);
/* { dg-error "20:size of unnamed array is negative" } */
10
}