aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/Wshadow-local-3.c
blob: 429df37f541b92f7fb6157fabcc9d5c02aaa1348 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-options "-Wno-shadow" } */

void func() {
  int i;
    {
      int i; /* should not warn */
    }
}