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
/
typename-vla-2.c
blob
24d3db8f58b24429da2050a1df463034e8e71573
1
/* { dg-do run }
2
* { dg-options "-std=c99" }
3
* */
4
5
6
static char
tmp
[
2
];
7
8
static int
f
(
int
n
,
char
(*
x
)[
sizeof
(*(++
n
, (
char
(*)[
n
])&
tmp
))])
9
{
10
return sizeof
*
x
;
11
}
12
13
int
main
(
void
)
14
{
15
if
(
2
!=
f
(
1
, &
tmp
))
16
__builtin_abort
();
17
return
0
;
18
}
19