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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr109450-2.c
blob
06799f6df23fbbb60789c537b644099e2f1c0292
1
/* PR c/109450
2
* { dg-do run }
3
* { dg-options "-std=gnu99" }
4
* */
5
6
int
bar
(
int
n
,
struct
foo
*
x
)
/* { dg-warning "not be visible" } */
7
{
8
int
a
=
n
;
9
struct
foo
{
char
buf
[
a
++]; }*
p
=
x
;
10
return
n
==
a
;
11
}
12
13
int
main
()
14
{
15
if
(
bar
(
1
,
0
))
16
__builtin_abort
();
17
}
18