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
Merge branches/gcc-4_8-branch rev 208968.
[official-gcc.git]
/
gcc-4_8-branch
/
gcc
/
testsuite
/
c-c++-common
/
Wunused-var-14.c
blob
389febae8c695592f7c9783b118eaee9e49e5af3
1
/* PR c/50179 */
2
/* { dg-options "-Wunused" } */
3
/* { dg-do compile } */
4
5
void
bar
(
int
, ...);
6
7
char
*
8
foo
(
void
)
9
{
10
bar
(
1
, (
__extension__
({
static char
b
[
2
];
b
[
0
] =
1
;
b
; })));
11
bar
(
1
, ({
static char
c
[
2
];
c
[
0
] =
1
;
c
; }));
12
return
({
static char
d
[
2
];
d
[
0
] =
1
;
d
; });
13
}