This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37213] Declaration/expression ambiguity resolution does not extend beyond initializer
- From: "akyrtzi at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2008 22:42:38 -0000
- Subject: [Bug c++/37213] Declaration/expression ambiguity resolution does not extend beyond initializer
- References: <bug-37213-16625@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from akyrtzi at gmail dot com 2008-08-24 22:42 -------
I forgot to mention that both MSVC and Comeau compilers interpret
FuncType(a)(x,y)->z = 0;
as expression and compile the test program without errors.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37213