This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/39699] No error reporting when function and variable have the same name
- From: "alpha dot super-one at laposte dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Apr 2009 04:47:26 -0000
- Subject: [Bug c++/39699] No error reporting when function and variable have the same name
- References: <bug-39699-17303@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from alpha dot super-one at laposte dot net 2009-04-10 04:47 -------
class toto
{
enum e {a,b};
e test_example();
e test_example;
};
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39699