------- Comment #3 from jakub at gcc dot gnu dot org  2009-04-14 14:57 -------
I certainly can, with e.g. fresly updated:
GNU C++ (GCC) version 4.5.0 20090414 (experimental) (x86_64-unknown-linux-gnu)
LC_ALL=C ./cc1plus -O2 -Wshadow z.C -quiet
z.C: In function 'int foo()':
z.C:11: warning: declaration of 'infoo' shadows a previous local
z.C:10: warning: shadowed declaration is here


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39763

Reply via email to