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
2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr48062.c
blob
0f4cdde2e16499e6bf78ff84720baca43817bc91
1
/* PR c/48062 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wshadow" } */
4
5
int
6
main
(
void
)
7
{
8
int
i
;
/* { dg-bogus "shadowed declaration" } */
9
#pragma GCC diagnostic push
10
#pragma GCC diagnostic ignored
"-Wshadow"
11
{
int
i
; }
12
#pragma GCC diagnostic pop
13
}