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
/
gnu23-varmod-2.c
blob
c36af1d164762fa7e8d45875b3ec44a5a2a5f43f
1
/* { dg-do run }
2
* { dg-options "-std=gnu23" } */
3
4
int
foo
(
int
n
)
5
{
6
int
(*
a
(
void
))[
n
] {
return
0
; };
7
typeof
((
n
++,
a
))
b2
;
8
return
n
;
9
}
10
11
int
main
()
12
{
13
if
(
2
!=
foo
(
1
))
14
__builtin_abort
();
15
}
16